File: rules

package info (click to toggle)
ccstools 1.7.2-20100401-3
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 984 kB
  • ctags: 1,080
  • sloc: ansic: 20,286; sh: 890; makefile: 80
file content (25 lines) | stat: -rwxr-xr-x 661 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
# export DH_VERBOSE=1

package = tomoyo-ccstools1.7

%:
	dh $@

override_dh_auto_install:
	# Add here commands to install the package into debian/tomoyo-ccstools1.7.
	$(MAKE) INSTALLDIR=$(CURDIR)/debian/$(package) install
	cd $(CURDIR)/debian/$(package)/usr/share/man/man8 && \
	  ln -s ./ccs-editpolicy.8.gz ccs-editpolicy_offline.8.gz
	# workaround
	rm $(CURDIR)/debian/$(package)/usr/lib/ccs/README.ccs
	rm $(CURDIR)/debian/$(package)/usr/lib/ccs/COPYING.ccs

override_dh_installinit:	
	dh_installinit --init-script=ccs-auditd --no-start

override_dh_clean:
	-rm -rf $(CURDIR)/man/man8
	dh_clean