Browse Source

split make install

master
Felix von Leitner 12 years ago
parent
commit
3e6d1953be
  1. 14
      GNUmakefile

14
GNUmakefile

@ -168,12 +168,20 @@ uint16.h uint32.h uint64.h open.h textcode.h tai.h taia.h dns.h iopause.h case.h
openreadclose.h readclose.h ndelay.h array.h io.h safemult.h iob.h havealloca.h \
errmsg.h cdb.h cdb_make.h rangecheck.h iarray.h
install: libowfat.a
install -d $(INCLUDEDIR) $(MAN3DIR) $(LIBDIR)
install-inc:
install -d $(INCLUDEDIR)
install -m 644 $(INCLUDES) $(INCLUDEDIR)
install -m 644 $(wildcard */*.3) $(MAN3DIR)
install-lib: libowfat.a
install -d $(LIBDIR)
install -m 644 libowfat.a $(LIBDIR)
install-man:
install -d $(MAN3DIR)
install -m 644 $(wildcard */*.3) $(MAN3DIR)
install: install-inc install-man install-lib
uninstall:
rm -f $(patsubst %.h,$(INCLUDEDIR)/%.h,$(INCLUDES))
rm -f $(patsubst %.3,$(MAN3DIR)/%.3,$(notdir $(wildcard */*.3)))

Loading…
Cancel
Save