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 53 54 55 56
|
#!/usr/bin/make -f
# Made with the aid of debmake, by Christoph Lameter,
# based on the sample debian/rules file for GNU hello by Ian Jackson.
package=libapache-mod-layout
build:
$(checkdir)
$(MAKE) version
$(MAKE)
touch build
clean:
$(checkdir)
-rm -f build
-$(MAKE) clean
-rm -f `find . -name "*~"`
-rm -rf debian/tmp debian/files* core debian/substvars
-rm debian/*.debhelper
-rm VERSION
-rm version.h
binary-arch: checkroot build install
$(checkdir)
#dh_testversion
dh_testdir
dh_testroot
dh_installchangelogs
dh_installdocs README THANKS TODO faq.html directives/
dh_installdeb
dh_fixperms
dh_shlibdeps
dh_compress
dh_strip
dh_md5sums
dh_gencontrol
dh_builddeb
binary: binary-indep binary-arch
install:
dh_testdir
dh_installdirs
mkdir -p debian/tmp/usr/lib/apache/1.3
cp mod_layout.so debian/tmp/usr/lib/apache/1.3/
cp debian/400mod_layout.info debian/tmp/usr/lib/apache/1.3/
chmod 644 debian/tmp/usr/lib/apache/1.3/mod_layout.so
checkroot:
$(checkdir)
test root = "`whoami`"
.PHONY: binary binary-arch binary-indep clean checkroot
|