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 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
|
#!/usr/bin/make -f
package=tkcdlayout
libdir=debian/tmp/usr/X11R6/lib/X11/tkcdlayout-0.2
build:
@echo Nothing to do!
clean:
dh_testdir
-rm -f `find . -name "*~"`
-rm -rf debian/tmp debian/files* core debian/substvars
binary-indep:
# There are no architecture-dependent files to be uploaded
# generated by this package. If there were any they would be
# made here.
binary-indep:
dh_testdir
dh_testroot
-rm -rf debian/tmp
-rm -f debian/*.debhelper
# Setup the directory-structure
install -d -m 755 -o root -g root $(libdir)
install -d -m 755 -o root -g root debian/tmp/usr/X11R6/bin
install -d -m 755 -o root -g root debian/tmp/usr/doc/tkcdlayout
# Install the program itself
install -p -m 755 -o root -g root tkcdlayout debian/tmp/usr/X11R6/bin
# Install the libraries
install -p -m 644 -o root -g root CD.latex.* $(libdir)
install -p -m 755 -o root -g root Funcs Clean NewLayout config $(libdir)
# Install a sample
install -p -m 644 -o root -g root config.sample \
debian/tmp/usr/doc/tkcdlayout
# Install everything
dh_installdocs README README.FAQ
dh_installchangelogs
dh_strip
dh_compress
dh_fixperms
dh_installmenu
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
binary: binary-indep binary-arch
.PHONY: binary binary-arch binary-indep clean build
|