diff options
author | Michael Elkins <melkins@tislabs.com> | 2011-01-23 21:38:14 +0000 |
---|---|---|
committer | Michael Elkins <melkins@tislabs.com> | 2011-01-23 21:38:14 +0000 |
commit | 68dfa47423d9732991ee9eacc820d38f44507581 (patch) | |
tree | b39908416ba8b6c23a63f476451f54a8e016978a | |
parent | 5fd6768f0ba333ef22e5d55dd3560a2018e39402 (diff) |
make sure leading directories exist prior to installing files
svn path=/portal-gui/Makefile.in; revision=3644
-rw-r--r-- | portal-gui/Makefile.in | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/portal-gui/Makefile.in b/portal-gui/Makefile.in index 0336c73a..b48f5d34 100644 --- a/portal-gui/Makefile.in +++ b/portal-gui/Makefile.in @@ -105,16 +105,19 @@ install-perms: chown -R $(WEBUSER) $(CONFDIR) install-media: - install -D -m 644 media/img/my.png $(INSTDIR)/media/img + install -m 755 -d $(INSTDIR)/media/img + install -m 644 media/img/my.png $(INSTDIR)/media/img install -m 644 media/img/rpki.png $(INSTDIR)/media/img install-apache: - install -D -m 644 apache/rpki.conf $(INSTDIR)/apache + install -d -m 755 $(INSTDIR)/apache + install -m 644 apache/rpki.conf $(INSTDIR)/apache install -m 644 apache/rpki.wsgi $(INSTDIR)/apache install-templates: - install -D -m 644 templates/base.html $(TEMPLATEDIR) - install -D -m 644 templates/myrpki/asn_view.html $(TEMPLATEDIR)/myrpki + install -d -m 755 $(TEMPLATEDIR)/myrpki + install -m 644 templates/base.html $(TEMPLATEDIR) + install -m 644 templates/myrpki/asn_view.html $(TEMPLATEDIR)/myrpki install -m 644 templates/myrpki/child_view.html $(TEMPLATEDIR)/myrpki install -m 644 templates/myrpki/conf_empty.html $(TEMPLATEDIR)/myrpki install -m 644 templates/myrpki/conf_list.html $(TEMPLATEDIR)/myrpki @@ -122,7 +125,8 @@ install-templates: install -m 644 templates/myrpki/parent_view.html $(TEMPLATEDIR)/myrpki install -m 644 templates/myrpki/prefix_view.html $(TEMPLATEDIR)/myrpki install -m 644 templates/myrpki/xml_import.html $(TEMPLATEDIR)/myrpki - install -D -m 644 templates/registration/login.html $(TEMPLATEDIR)/registration + install -d -m 755 $(TEMPLATEDIR)/registration + install -m 644 templates/registration/login.html $(TEMPLATEDIR)/registration #this will go away once the django app moves into the rpki module install-django: |