Browse Source

Add new build config options

ppa
Timo Röhling 9 years ago
parent
commit
d7f6bebd98
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      debian/rules

+ 2
- 2
debian/rules View File

13
 	dh $@ --buildsystem=cmake
13
 	dh $@ --buildsystem=cmake
14
 	
14
 	
15
 override_dh_auto_configure:
15
 override_dh_auto_configure:
16
-	dh_auto_configure -O--buildsystem=cmake -- -DCMAKE_BUILD_TYPE=Release -DGENERATE_SRS_SECRET=OFF -DCHROOT_DIR=/var/lib/postsrsd -DUSE_APPARMOR=ON
16
+	dh_auto_configure -O--buildsystem=cmake -- -DCMAKE_BUILD_TYPE=Release -DGENERATE_SRS_SECRET=OFF -DCHROOT_DIR=/var/lib/postsrsd -DUSE_APPARMOR=ON -DSYSD_UNIT_DIR=/lib/systemd/system -DINIT_FLAVOR=upstart
17
 
17
 
18
 override_dh_installinit:
18
 override_dh_installinit:
19
 	dh_installinit -o
19
 	dh_installinit -o
22
 BASE_REVISION=$(shell git merge-base ppa master )
22
 BASE_REVISION=$(shell git merge-base ppa master )
23
 
23
 
24
 create-orig-tar:
24
 create-orig-tar:
25
-	git archive --prefix=postsrsd/ -o ../postsrsd_$(UPSTREAM_VERSION).orig.tar.gz $(BASE_REVISION)
25
+	git archive --prefix=postsrsd-${UPSTREAM_VERSION}/ -o ../postsrsd_$(UPSTREAM_VERSION).orig.tar.gz $(BASE_REVISION)
26
 
26
 

Loading…
Cancel
Save