From 22edfde460ea987be279797e01db364205ffaa40 Mon Sep 17 00:00:00 2001 From: rohieb Date: Sat, 2 Aug 2008 01:11:09 +0200 Subject: [PATCH] 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/ --- Makefile | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) 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 -- 2.20.1