Browse Source

Set PREFIX=/usr for packaging

Alois Mahdal 7 years ago
parent
commit
9f306e4cd0
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      src/stub

+ 3
- 3
src/stub View File

141
             echo '%setup -q'
141
             echo '%setup -q'
142
             echo ''
142
             echo ''
143
             echo '%build'
143
             echo '%build'
144
-            echo 'make %{?_smp_mflags}'
144
+            echo 'make %{?_smp_mflags} PREFIX=/usr'
145
             echo ''
145
             echo ''
146
             echo '%install'
146
             echo '%install'
147
-            echo '%make_install'
147
+            echo '%make_install PREFIX=/usr'
148
             echo ''
148
             echo ''
149
             echo '%files'
149
             echo '%files'
150
             echo 'MKIT_STUB_FILELIST'
150
             echo 'MKIT_STUB_FILELIST'
197
             echo ''
197
             echo ''
198
             echo 'override_dh_auto_install:'
198
             echo 'override_dh_auto_install:'
199
             echo ''
199
             echo ''
200
-            echo '	make install DESTDIR=debian/tmp'
200
+            echo '	make install PREFIX=/usr DESTDIR=debian/tmp'
201
             echo ''
201
             echo ''
202
             echo 'override_dh_usrlocal:'
202
             echo 'override_dh_usrlocal:'
203
             echo ''
203
             echo ''