File: rules

package info (click to toggle)
eurephia 1.1.0-6
  • links: PTS
  • area: main
  • in suites: buster, stretch
  • size: 1,560 kB
  • ctags: 936
  • sloc: ansic: 12,939; sh: 284; sql: 155; makefile: 12
file content (15 lines) | stat: -rwxr-xr-x 609 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f
%:
	dh $@

override_dh_auto_configure:
	$(shell DEB_CFLAGS_MAINT_APPEND="-fPIC -std=gnu89" dpkg-buildflags --export=configure) ./configure --prefix /usr --plug-in --fw-iptables --db-sqlite3 --sqlite3-path /var/lib/eurephia --eurephiadm --openvpn-src /usr/include/openvpn
override_dh_auto_clean:
	rm -rf configure.log
	dh_auto_clean

override_dh_auto_install:
	dh_auto_install
	install -p -m 755 utils/eurephia_init $(CURDIR)/debian/eurephia/usr/bin/
	install -p -m 755 utils/eurephia_saltdecode $(CURDIR)/debian/eurephia/usr/bin/
	rm -f debian/eurephia/var/lib/eurephia/eurephiadb-template