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
|
############################ -*- Mode: Makefile -*- ###########################
## Makefile ---
## Author : Manoj Srivastava ( srivasta@glaurung.internal.golden-gryphon.com )
## Created On : Thu Feb 19 11:47:01 2004
## Created On Node : glaurung.internal.golden-gryphon.com
## Last Modified By : Manoj Srivastava
## Last Modified On : Thu Feb 19 16:19:08 2004
## Last Machine Used: glaurung.internal.golden-gryphon.com
## Update Count : 7
## Status : Unknown, Use with caution!
## HISTORY :
## Description :
##
###############################################################################
prefix=
package = angband-doc
LIBLOC = $(prefix)/var/games/angband/info
DOCDIR = $(prefix)/usr/share/doc/$(package)
# install commands
install_file = install -p -o root -g root -m 644
install_program= install -p -o root -g root -m 755
make_directory = install -p -d -o root -g root -m 755
all build:
@echo nothing to do for build
install:
test -d $(DOCDIR) || $(make_directory) $(DOCDIR)
test -d $(LIBLOC) || $(make_directory) $(LIBLOC)
(cd Help-Info; tar cf - *) | (cd $(LIBLOC); umask 000; tar xpf -)
find $(LIBLOC) -type d -name .arch-ids -print0 | xargs -0r rm -rf
(cd Help-Page; tar cf - *) | (cd $(DOCDIR); umask 000; tar xpf -)
find $(DOCDIR) -type d -name .arch-ids -print0 | xargs -0r rm -rf
gzip -9fq $(DOCDIR)/angfaq*.txt
chown -R root:root $(DOCDIR) $(LIBLOC);
chmod -R u+w,go=rX $(DOCDIR) $(LIBLOC);
clean distclean:
@echo nothing to do for clean
|