Changeset cdb92c5 for Makefile


Ignore:
Timestamp:
2006-03-02T12:43:36Z (14 years ago)
Author:
Jelmer Vernooij <jelmer@…>
Branches:
master
Children:
27ac72d
Parents:
1e5fcac
Message:

Move development stuff into a seperate install-dev

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r1e5fcac rcdb92c5  
    2121        $(MAKE) -C doc
    2222
    23 uninstall: uninstall-bin uninstall-doc uninstall-header uninstall-pc
     23uninstall: uninstall-bin uninstall-doc
    2424        @echo -e '\nmake uninstall does not remove files in '$(DESTDIR)$(ETCDIR)', you can use make uninstall-etc to do that.\n'
    2525
    26 install: install-bin install-doc install-header install-pc
     26install: install-bin install-doc
    2727        @if ! [ -d $(DESTDIR)$(CONFIG) ]; then echo -e '\nThe configuration directory $(DESTDIR)$(CONFIG) does not exist yet, don'\''t forget to create it!'; fi
    2828        @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
     
    5858        rm -f $(DESTDIR)$(BINDIR)/$(OUTFILE)
    5959
    60 install-header:
     60install-dev:
    6161        mkdir -p $(DESTDIR)$(INCLUDEDIR)
    6262        install -m 0644 $(headers) $(DESTDIR)$(INCLUDEDIR)
    63 
    64 uninstall-header:
    65         rm -f $(foreach hdr,$(headers),$(DESTDIR)$(INCLUDEDIR)/$(hdr))
    66         -rmdir $(DESTDIR)$(INCLUDEDIR)
    67 
    68 install-pc:
    6963        mkdir -p $(DESTDIR)$(PCDIR)
    7064        install -m 0644 bitlbee.pc $(DESTDIR)$(PCDIR)
    7165
    72 uninstall-pc:
     66uninstall-dev:
     67        rm -f $(foreach hdr,$(headers),$(DESTDIR)$(INCLUDEDIR)/$(hdr))
     68        -rmdir $(DESTDIR)$(INCLUDEDIR)
    7369        rm -f $(DESTDIR)$(PCDIR)/bitlbee.pc
    7470
Note: See TracChangeset for help on using the changeset viewer.