Commit 020c62e4db8b55938fcecd216a957dbdc72bcf78

Authored by Georg Hopp
1 parent 3ab1cc3e

install working directories as world read-/writeable and symlink layout instead …

…of installing the files.
Showing 1 changed file with 10 additions and 5 deletions
... ... @@ -21,11 +21,7 @@ nobase_trdata_DATA = assets/html/example.html \
21 21 assets/html/_title.html \
22 22 assets/html/_author.html \
23 23 assets/html/_main.html \
24   - assets/html/author.html \
25   - assets/html/documentation.html \
26   - assets/html/download.html \
27 24 assets/html/layout.html \
28   - assets/html/main.html \
29 25 assets/html/_documentation.html \
30 26 assets/html/_download.html \
31 27 assets/image/waldschrat.jpg \
... ... @@ -100,8 +96,13 @@ TR_DIRS = $(DESTDIR)/$(trdatadir)/assets/doc \
100 96 $(DESTDIR)/$(trstatedir) \
101 97 $(DESTDIR)/$(trdatadir)/docs/
102 98
  99 +LAYOUT_PAGES = $(DESTDIR)/$(trdatadir)/assets/html/author.html \
  100 + $(DESTDIR)/$(trdatadir)/assets/html/documentation.html \
  101 + $(DESTDIR)/$(trdatadir)/assets/html/download.html \
  102 + $(DESTDIR)/$(trdatadir)/assets/html/main.html
  103 +
103 104 install-data-hook:
104   - $(INSTALL) -d -m 755 $(TR_DIRS)
  105 + $(INSTALL) -d -m 777 $(TR_DIRS)
105 106 if [ -d docs/api/ ]; then \
106 107 cp -Rfd docs/api/ $(DESTDIR)/$(trdatadir)/docs/; \
107 108 fi
... ... @@ -126,6 +127,10 @@ install-data-hook:
126 127 $(DESTDIR)/$(trdatadir)/docs/coverage/$(PACKAGE_VERSION) \
127 128 $(DESTDIR)/$(trdatadir)/assets/html/coverage/$(PACKAGE_VERSION); \
128 129 fi
  130 + for layout_page in $(LAYOUT_PAGES); \
  131 + do \
  132 + $(LN_S) ./layout.html $$layout_page; \
  133 + done
129 134
130 135 uninstall-hook:
131 136 rm -Rf $(varlibdir) $(varrundir) $(trdatadir)
... ...
Please register or login to post a comment