aboutsummaryrefslogtreecommitdiff
path: root/portal-gui
diff options
context:
space:
mode:
authorMichael Elkins <melkins@tislabs.com>2010-11-17 01:05:44 +0000
committerMichael Elkins <melkins@tislabs.com>2010-11-17 01:05:44 +0000
commit929cbfe19552161f32943b8f164a0e730aa937f7 (patch)
tree03d4266d343fbb3dba294b5118d75eba23b7f5a9 /portal-gui
parentd75ac3e7dd7ada57f68833aeeb7515e07d133208 (diff)
ensure the htpasswd file exists during "make install" so that "htdigest -c" is not necessary
svn path=/portal-gui/Makefile.in; revision=3554
Diffstat (limited to 'portal-gui')
-rw-r--r--portal-gui/Makefile.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/portal-gui/Makefile.in b/portal-gui/Makefile.in
index dc05afc5..950e54e1 100644
--- a/portal-gui/Makefile.in
+++ b/portal-gui/Makefile.in
@@ -103,6 +103,8 @@ install-data: $(BUILD)
ln -sf $(INSTDIR)/scripts/helper $(INSTDIR)/scripts/list_resources
ln -sf $(INSTDIR)/scripts/helper $(INSTDIR)/scripts/adduser
chmod 755 $(INSTDIR)/scripts/load_csv $(INSTDIR)/scripts/list_resources $(INSTDIR)/scripts/runserver $(INSTDIR)/scripts/adduser
+ touch $(INSTDIR)/htpasswd
+ chmod 644 $(INSTDIR)/htpasswd
cd $(INSTDIR)/rpkigui && $(PYTHON) manage.py syncdb --pythonpath=$(MYRPKIDIR)
install: install-data install-perms