diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-11-21 09:21:59 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-11-21 09:21:59 +0000 |
commit | 83b20bee29dac587d83bd7ace62c6b84022109d2 (patch) | |
tree | 8c3ac9bc8bf27b257628d8a32b6dcdddab6ff176 /scripts/Makefile | |
parent | [w3m-dev 02472] cleanup CYGWIN macro (diff) | |
download | w3m-83b20bee29dac587d83bd7ace62c6b84022109d2.tar.gz w3m-83b20bee29dac587d83bd7ace62c6b84022109d2.zip |
[w3m-dev 02470]
Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to 'scripts/Makefile')
-rw-r--r-- | scripts/Makefile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/scripts/Makefile b/scripts/Makefile new file mode 100644 index 0000000..00ee78c --- /dev/null +++ b/scripts/Makefile @@ -0,0 +1,25 @@ + +prefix = /usr/local +DESTDIR = +BIN_DIR = $(prefix)/bin +LIB_DIR = $(prefix)/lib/w3m + +LIB_TARGETS = dirlist.cgi + +INSTALL = install -c +INSTALL_SCRIPT = $(INSTALL) -m 755 + +PERL = /usr/local/bin/perl + +.SUFFIXES: .in + +all: $(LIB_TARGETS) + +.in: + sed 's%@PERL@%$(PERL)%' $< > $@ + +install: $(LIB_TARGETS) + for file in $(LIB_TARGETS); \ + do \ + $(INSTALL_SCRIPT) $$file $(DISTDIR)$(LIB_DIR); \ + done |