[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:
@@ -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:
|
||||
|
Reference in New Issue
Block a user