From: rohieb Date: Fri, 1 Aug 2008 23:11:09 +0000 (+0200) Subject: Makefile: added distclean to phony targets, documentation is installed in /usr/share... X-Git-Tag: REL_8.08.03~4 X-Git-Url: http://git.rohieb.name/iserv-mod-room-reservation.git/commitdiff_plain/22edfde460ea987be279797e01db364205ffaa40 Makefile: added distclean to phony targets, documentation is installed in /usr/share/doc/iserv-mod-room-reservation with symbolic link in /usr/share/doc/iserv/mod/ --- diff --git a/Makefile b/Makefile index a004aff..39153a6 100644 --- a/Makefile +++ b/Makefile @@ -25,21 +25,18 @@ # DESTDIR?= -SOURCEFILES=src/*.php includes/*.inc -MODULE_DOC_FILES=doc/source/html/* doc/source/latex/* LN=ln -f RM=rm -rf MKDIR=mkdir -p # hardlink the files to their destinations -# TODO move documentation where Jörg wants it ;) links: sourcedoc # documentation - $(MKDIR) $(DESTDIR)/usr/share/doc/iserv/mod/room-reservation/source/ - $(LN) doc/{TODO,changelog.old.html} $(DESTDIR)/usr/share/doc/iserv/mod/room-reservation/ - $(LN) doc/source/* $(DESTDIR)/usr/share/doc/iserv/mod/room-reservation/source/ + $(MKDIR) $(DESTDIR)/usr/share/doc/iserv-mod-room-reservation/source/ + $(LN) doc/{TODO,changelog.old.html} $(DESTDIR)/usr/share/doc/iserv-mod-room-reservation/ + $(LN) doc/source/* $(DESTDIR)/usr/share/doc/iserv-mod-room-reservation/source/ $(RM) $(DESTDIR)/usr/share/doc/iserv/mod/room-reservation - $(LN) -s $(DESTDIR)/usr/share/doc/iserv-mod-room-reservation $(DESTDIR)/usr/share/doc/iserv/mod/room-reservation + $(LN) -s $(DESTDIR)/usr/share/doc/iserv/mod/room-reservation $(DESTDIR)/usr/share/doc/iserv-mod-room-reservation # images if [ ! -d $(DESTDIR)/usr/share/iserv/www/img/default/16/ ]; then $(MKDIR) $(DESTDIR)/usr/share/iserv/www/img/default/16/; fi @@ -127,4 +124,4 @@ clean: distclean distclean: $(RM) doc/source -.PHONY: clean +.PHONY: clean distclean