diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-03-02 13:43:36 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2006-03-02 13:43:36 +0100 |
commit | cdb92c53a9e930bc6c685127d13b743872959e75 (patch) | |
tree | b7a45fae3b0d6bfeeb5a600d987c4f8be6ae8a5c | |
parent | 1e5fcac2ef56723dbc0220844d119a89633b479d (diff) |
Move development stuff into a seperate install-dev
-rw-r--r-- | Makefile | 16 |
1 files changed, 6 insertions, 10 deletions
@@ -20,10 +20,10 @@ CFLAGS += -Wall all: $(OUTFILE) $(MAKE) -C doc -uninstall: uninstall-bin uninstall-doc uninstall-header uninstall-pc +uninstall: uninstall-bin uninstall-doc @echo -e '\nmake uninstall does not remove files in '$(DESTDIR)$(ETCDIR)', you can use make uninstall-etc to do that.\n' -install: install-bin install-doc install-header install-pc +install: install-bin install-doc @if ! [ -d $(DESTDIR)$(CONFIG) ]; then echo -e '\nThe configuration directory $(DESTDIR)$(CONFIG) does not exist yet, don'\''t forget to create it!'; fi @if ! [ -e $(DESTDIR)$(ETCDIR)/bitlbee.conf ]; then echo -e '\nNo files are installed in '$(DESTDIR)$(ETCDIR)' by make install. Run make install-etc to do that.'; fi @echo @@ -57,19 +57,15 @@ install-bin: uninstall-bin: rm -f $(DESTDIR)$(BINDIR)/$(OUTFILE) -install-header: +install-dev: mkdir -p $(DESTDIR)$(INCLUDEDIR) install -m 0644 $(headers) $(DESTDIR)$(INCLUDEDIR) - -uninstall-header: - rm -f $(foreach hdr,$(headers),$(DESTDIR)$(INCLUDEDIR)/$(hdr)) - -rmdir $(DESTDIR)$(INCLUDEDIR) - -install-pc: mkdir -p $(DESTDIR)$(PCDIR) install -m 0644 bitlbee.pc $(DESTDIR)$(PCDIR) -uninstall-pc: +uninstall-dev: + rm -f $(foreach hdr,$(headers),$(DESTDIR)$(INCLUDEDIR)/$(hdr)) + -rmdir $(DESTDIR)$(INCLUDEDIR) rm -f $(DESTDIR)$(PCDIR)/bitlbee.pc install-etc: |