Commit 020c62e4db8b55938fcecd216a957dbdc72bcf78
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,11 +21,7 @@ nobase_trdata_DATA = assets/html/example.html \ | ||
21 | assets/html/_title.html \ | 21 | assets/html/_title.html \ |
22 | assets/html/_author.html \ | 22 | assets/html/_author.html \ |
23 | assets/html/_main.html \ | 23 | assets/html/_main.html \ |
24 | - assets/html/author.html \ | ||
25 | - assets/html/documentation.html \ | ||
26 | - assets/html/download.html \ | ||
27 | assets/html/layout.html \ | 24 | assets/html/layout.html \ |
28 | - assets/html/main.html \ | ||
29 | assets/html/_documentation.html \ | 25 | assets/html/_documentation.html \ |
30 | assets/html/_download.html \ | 26 | assets/html/_download.html \ |
31 | assets/image/waldschrat.jpg \ | 27 | assets/image/waldschrat.jpg \ |
@@ -100,8 +96,13 @@ TR_DIRS = $(DESTDIR)/$(trdatadir)/assets/doc \ | @@ -100,8 +96,13 @@ TR_DIRS = $(DESTDIR)/$(trdatadir)/assets/doc \ | ||
100 | $(DESTDIR)/$(trstatedir) \ | 96 | $(DESTDIR)/$(trstatedir) \ |
101 | $(DESTDIR)/$(trdatadir)/docs/ | 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 | install-data-hook: | 104 | install-data-hook: |
104 | - $(INSTALL) -d -m 755 $(TR_DIRS) | 105 | + $(INSTALL) -d -m 777 $(TR_DIRS) |
105 | if [ -d docs/api/ ]; then \ | 106 | if [ -d docs/api/ ]; then \ |
106 | cp -Rfd docs/api/ $(DESTDIR)/$(trdatadir)/docs/; \ | 107 | cp -Rfd docs/api/ $(DESTDIR)/$(trdatadir)/docs/; \ |
107 | fi | 108 | fi |
@@ -126,6 +127,10 @@ install-data-hook: | @@ -126,6 +127,10 @@ install-data-hook: | ||
126 | $(DESTDIR)/$(trdatadir)/docs/coverage/$(PACKAGE_VERSION) \ | 127 | $(DESTDIR)/$(trdatadir)/docs/coverage/$(PACKAGE_VERSION) \ |
127 | $(DESTDIR)/$(trdatadir)/assets/html/coverage/$(PACKAGE_VERSION); \ | 128 | $(DESTDIR)/$(trdatadir)/assets/html/coverage/$(PACKAGE_VERSION); \ |
128 | fi | 129 | fi |
130 | + for layout_page in $(LAYOUT_PAGES); \ | ||
131 | + do \ | ||
132 | + $(LN_S) ./layout.html $$layout_page; \ | ||
133 | + done | ||
129 | 134 | ||
130 | uninstall-hook: | 135 | uninstall-hook: |
131 | rm -Rf $(varlibdir) $(varrundir) $(trdatadir) | 136 | rm -Rf $(varlibdir) $(varrundir) $(trdatadir) |
Please
register
or
login
to post a comment