aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPetter Reinholdtsen <pere@hungry.com>2006-08-28 16:20:38 +0000
committerPetter Reinholdtsen <pere@hungry.com>2006-08-28 16:20:38 +0000
commit235a3e1ac485c6a5f75254c86ee7220a02e80742 (patch)
tree46d7996e42742d07abeb281e05b9b7fd32f76e93 /Makefile
parentb940eb0f0abaa906902055e7952d2a1915fcf683 (diff)
downloadsitesummary-235a3e1ac485c6a5f75254c86ee7220a02e80742.tar.gz
sitesummary-235a3e1ac485c6a5f75254c86ee7220a02e80742.tar.bz2
sitesummary-235a3e1ac485c6a5f75254c86ee7220a02e80742.tar.xz
* Try to create the directories in /var/lib/sitesummary/ with www-data
as the owner, to allow the cgi script to write into them.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b75672f..36c6c2f 100644
--- a/Makefile
+++ b/Makefile
@@ -38,6 +38,9 @@ install-server:
$(INSTALL) -d $(DESTDIR)/etc/apache2/sites-available/
$(INSTALL_DATA) apache.conf $(DESTDIR)/etc/apache2/sites-available/sitesummary
+ $(INSTALL) -o www-data -d $(DESTDIR)/var/lib/sitesummary/entries
+ $(INSTALL) -o www-data -d $(DESTDIR)/var/lib/sitesummary/tmpstorage
+
install-client:
$(INSTALL) -d $(DESTDIR)$(sbindir)
$(INSTALL) sitesummary-client sitesummary-upload $(DESTDIR)$(sbindir)