X-Git-Url: https://git.rohieb.name/iserv-mod-room-reservation.git/blobdiff_plain/b705e2d317f11d317f8a408977867717cab5d47a..ef89650d981e2c08bfb071a7dc2ff46d139f4eaa:/Makefile

diff --git a/Makefile b/Makefile
index 410d622..22e44ed 100644
--- a/Makefile
+++ b/Makefile
@@ -36,9 +36,10 @@ MKDIR=mkdir -p
 links:
 	# documentation
 	$(MKDIR) $(DESTDIR)/usr/share/doc/iserv/mod/room-reservation/source/
-	$(LN) doc/{TODO,changelog.html} $(DESTDIR)/usr/share/doc/iserv/mod/room-reservation/
-	$(LN) doc/source/html/* $(DESTDIR)/usr/share/doc/iserv/mod/room-reservation/source/
-	
+	$(LN) doc/{TODO,changelog..oldhtml} $(DESTDIR)/usr/share/doc/iserv/mod/room-reservation/
+	$(LN) doc/source/* $(DESTDIR)/usr/share/doc/iserv/mod/room-reservation/source/
+	$(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
 	$(LN) img/16/*.png $(DESTDIR)/usr/share/iserv/www/img/default/16/
@@ -87,6 +88,7 @@ endif
 # build doxygen documentation from source
 sourcedoc:
 	doxygen
+	mv doc/source/html/* doc/source/ && rm -rf doc/source/html
 
 # install everything
 install: sourcedoc links