$(MAKE) -C po clean
extra_install:
- install -d $(DESTDIR)/etc/ikiwiki
- install -m 0644 wikilist $(DESTDIR)/etc/ikiwiki
- install -m 0644 auto.setup $(DESTDIR)/etc/ikiwiki
-
install -d $(DESTDIR)$(PREFIX)/share/ikiwiki
for dir in `cd underlays && find . -follow -type d ! -regex '.*\.svn.*'`; do \
install -d $(DESTDIR)$(PREFIX)/share/ikiwiki/$$dir; \
install ikiwiki-makerepo ikiwiki-transition ikiwiki-update-wikilist $(DESTDIR)$(PREFIX)/bin/
$(MAKE) -C po install DESTDIR=$(DESTDIR) PREFIX=$(PREFIX)
+
+ # These might fail if a regular user is installing into a home
+ # directory.
+ -install -d $(DESTDIR)/etc/ikiwiki
+ -install -m 0644 wikilist $(DESTDIR)/etc/ikiwiki
+ -install -m 0644 auto.setup $(DESTDIR)/etc/ikiwiki
}
}
* Set cookies HttpOnly.
* Typo. Closes: #497003
+ * Ignore failure to install files into /etc, in case install is running as
+ non-root.
-- Joey Hess <joeyh@debian.org> Thu, 28 Aug 2008 16:08:18 -0400
> hardcoding scripts, and would instead need to record the new variable
> at build time, like PREFIX is recorded in $installdir.
>
+> Instead, let's ignore failure of the lines. [[done]]
+>
> --[[Joey]]
<pre>