aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/w3mman/Makefile
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2003-09-22 22:53:52 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2003-09-22 22:53:52 +0000
commit149ff2aa6f6d2eb7da5fda28f245a56bab685630 (patch)
treed3403bc2c0f22fe72793738137101b3e4c180486 /scripts/w3mman/Makefile
parentm17n patch merge done (diff)
downloadw3m-149ff2aa6f6d2eb7da5fda28f245a56bab685630.tar.gz
w3m-149ff2aa6f6d2eb7da5fda28f245a56bab685630.zip
more autoconfiscate
Diffstat (limited to 'scripts/w3mman/Makefile')
-rw-r--r--scripts/w3mman/Makefile78
1 files changed, 0 insertions, 78 deletions
diff --git a/scripts/w3mman/Makefile b/scripts/w3mman/Makefile
deleted file mode 100644
index 6bf7b4c..0000000
--- a/scripts/w3mman/Makefile
+++ /dev/null
@@ -1,78 +0,0 @@
-
-prefix = /usr/local
-BIN_DIR = $(prefix)/bin
-LIB_DIR = $(prefix)/lib/w3m/cgi-bin
-MAN_DIR = $(prefix)/man
-MAN1_DIR = $(MAN_DIR)/man1
-DESTDIR =
-distdir = ./distfiles
-
-TARGETS = w3mman
-LIB_TARGETS = w3mman2html.cgi
-MAN1_TARGETS = w3mman.1
-MAN_TARGETS = $(MAN1_TARGETS)
-
-MKDIR = mkdir -p
-INSTALL = install -c
-INSTALL_SCRIPT = $(INSTALL) -m 755
-INSTALL_MAN = $(INSTALL) -m 644
-
-PERL = /usr/local/bin/perl
-W3M = w3m
-# W3M = w3m -X -o confirm_qq=0
-MAN = man
-
-.SUFFIXES: .in
-
-all: $(TARGETS) $(LIB_TARGETS) $(MAN_TARGETS)
-
-.in:
- sed -e 's%@PERL@%$(PERL)%g' \
- -e 's%@W3M@%$(W3M)%g' \
- -e 's%@MAN@%$(MAN)%g' \
- -e 's%@LIB_DIR@%$(LIB_DIR)%g' \
- $< > $@
- chmod +x $@
-
-install: $(TARGETS) $(LIB_TARGETS) $(MAN_TARGETS)
- -$(MKDIR) $(DESTDIR)$(BIN_DIR)
- -$(MKDIR) $(DESTDIR)$(LIB_DIR)
- -$(MKDIR) $(DESTDIR)$(MAN1_DIR)
- for file in $(TARGETS); \
- do \
- $(INSTALL_SCRIPT) $$file $(DESTDIR)$(BIN_DIR); \
- done
- for file in $(LIB_TARGETS); \
- do \
- $(INSTALL_SCRIPT) $$file $(DESTDIR)$(LIB_DIR); \
- done
- for file in $(MAN1_TARGETS); \
- do \
- $(INSTALL_MAN) $$file $(DESTDIR)$(MAN1_DIR); \
- done
-
-uninstall:
- -for file in $(TARGETS); \
- do \
- rm -f $(BIN_DIR)/$$file; \
- done
- -for file in $(LIB_TARGETS); \
- do \
- rm -f $(LIB_DIR)/$$file; \
- done
- -for file in $(MAN1_TARGETS); \
- do \
- rm -f $(MAN1_DIR)/$$file; \
- done
-
-clean:
- -rm -f $(TARGETS) $(LIB_TARGETS) $(MAN_TARGETS)
-
-dist: all
- @-rm -fr $(distdir)/w3mman
- -$(MKDIR) $(distdir)/w3mman
- cp Makefile README w3mman.in w3mman2html.cgi.in hlink.cgi w3mman.1.in $(distdir)/w3mman
- ( cd $(distdir); tar -cf - w3mman | GZIP='' gzip ) \
- > $(distdir)/w3mman.tar.gz
- -rm -fr $(distdir)/w3mman
-