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 57
|
############################ -*- Mode: Makefile -*- ###########################
## local.mk ---
## Author : Manoj Srivastava ( srivasta@glaurung.green-gryphon.com )
## Created On : Sat Nov 15 10:42:10 2003
## Created On Node : glaurung.green-gryphon.com
## Last Modified By : Manoj Srivastava
## Last Modified On : Thu Feb 19 16:19:04 2004
## Last Machine Used: glaurung.internal.golden-gryphon.com
## Update Count : 4
## Status : Unknown, Use with caution!
## HISTORY :
## Description :
##
## arch-tag: b07b1015-30ba-4b46-915f-78c776a808f4
##
###############################################################################
testdir:
$(testdir)
INST/angband-doc:: install/angband-doc
BIN/angband-doc:: binary/angband-doc
CLEAN/angband-doc::
-rm -rf $(TMPTOP)
install/angband-doc: testroot
$(checkdir)
$(REASON)
rm -rf $(TMPTOP)
$(make_directory) $(GAMEDIR)
$(make_directory) $(DOCDIR)
$(make_directory) $(DOCBASEDIR)
$(make_directory) $(LINTIANDIR)
echo '$(package): description-synopsis-might-not-be-phrased-properly'>> \
$(LINTIANDIR)/$(package)
$(install_file) debian/changelog $(DOCDIR)/
$(install_file) debian/README.debian $(DOCDIR)/
gzip -9fqr $(DOCDIR)
$(MAKE) $(INT_INSTALL_TARGET) prefix=$(TMPTOP) \
infodir=$(INFODIR) mandir=$(MANDIR)
$(install_file) debian/copyright $(DOCDIR)/copyright
$(install_file) debian/docentry $(DOCBASEDIR)/$(package)
binary/angband-doc: testroot
$(checkdir)
$(REASON)
$(make_directory) $(TMPTOP)/DEBIAN
$(install_program) debian/postrm $(TMPTOP)/DEBIAN/postrm
$(install_script) debian/postinst $(TMPTOP)/DEBIAN/postinst
$(install_script) debian/prerm $(TMPTOP)/DEBIAN/prerm
dpkg-gencontrol -p$(package) -isp -P$(TMPTOP)
chown -R root $(TMPTOP)
chmod -R u+w,go=rX $(TMPTOP)
dpkg --build $(TMPTOP) ..
|