[w3m-dev 04063] about Makefile

* Makefile.in (DEFS): use CGIBIN_DIR instead of LIB_DIR
	(MAKE_ARGS): ditto
	(distclean): rm -f
* config.h.dist: use CGIBIN_DIR instead of LIB_DIR
* indep.c (w3m_lib_dir): ditto
* scripts/Makefile.in: ditto
* scripts/multipart/Makefile.in: ditto
* w3mimg/Makefile.in (clearn): remove w3mimg.a
From: SAKAI Kiyotaka <ksakai@kso.netwk.ntt-at.co.jp>
This commit is contained in:
Fumitoshi UKAI
2004-04-09 17:18:48 +00:00
parent 064337fd40
commit e4e1dd26a2
7 changed files with 32 additions and 19 deletions

View File

@@ -47,16 +47,16 @@ all: $(LIB_TARGETS)
$(LIB_TARGETS):
install: $(LIB_TARGETS)
-$(MKDIR) $(DESTDIR)$(LIB_DIR)
-$(MKDIR) $(DESTDIR)$(CGIBIN_DIR)
for file in $(LIB_TARGETS); \
do \
$(INSTALL_SCRIPT) $$file $(DESTDIR)$(LIB_DIR); \
$(INSTALL_SCRIPT) $$file $(DESTDIR)$(CGIBIN_DIR); \
done
uninstall:
-for file in $(LIB_TARGETS); \
do \
rm -f $(LIB_DIR)/$$file; \
rm -f $(CGIBIN_DIR)/$$file; \
done
clean: