File: rules

package info (click to toggle)
openct 0.6.14-3
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 3,796 kB
  • ctags: 3,437
  • sloc: ansic: 19,575; sh: 9,107; makefile: 168
file content (18 lines) | stat: -rwxr-xr-x 482 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/debhelper.mk

DEB_INSTALL_DOCS_ALL := NEWS TODO

install/openct::
	cp -f etc/init-script debian/openct.init
	cp -f etc/openct.udev.modalias debian/openct.udev

binary-post-install/openct::
# Rename some stuff 
	mv -f $(CURDIR)/debian/openct/etc/reader.conf.d/openct.reader.conf \
		$(CURDIR)/debian/openct/etc/reader.conf.d/openct

clean::
	rm -f debian/openct.init debian/openct.udev