Skip to content
Browse files

PUBLIC_REPO instead of compiled in apache conf

  • Loading branch information...
1 parent cef40f7 commit 6158f6902ddeaea617c1e8a0bc831b3aa10426ed Josef Urban committed Apr 8, 2011
Showing with 3 additions and 3 deletions.
  1. +2 −2 Makefile.smallinstall
  2. +1 −1 apacheconf-mizar.in
View
4 Makefile.smallinstall
@@ -238,8 +238,8 @@ gitweb: public-repo-export
apache2ctl restart
apacheconf:
- perl -e 'open(A,$$ARGV[0]); while(<A>) {s/##REPO_NAME##/$$ARGV[1]/g; s/##PUBLIC_COMPILED_REPO##/$$ARGV[2]/g; s/##REPO_DIR_INDEX##/$$ARGV[3]/g; print }' \
- apacheconf-mizar.in $(REPO_NAME) $(PUBLIC_COMPILED_REPO) $(REPO_DIR_INDEX) > \
+ perl -e 'open(A,$$ARGV[0]); while(<A>) {s/##REPO_NAME##/$$ARGV[1]/g; s/##PUBLIC_REPO##/$$ARGV[2]/g; s/##REPO_DIR_INDEX##/$$ARGV[3]/g; print }' \
+ apacheconf-mizar.in $(REPO_NAME) $(PUBLIC_REPO) $(REPO_DIR_INDEX) > \
$(APACHE_ROOT)/etc/apache2/sites-available/$(REPO_NAME) \
&& chmod 644 $(APACHE_ROOT)/etc/apache2/sites-available/$(REPO_NAME)
View
2 apacheconf-mizar.in
@@ -1,4 +1,4 @@
-Alias /##REPO_NAME## "##PUBLIC_COMPILED_REPO##/html"
+Alias /##REPO_NAME## "##PUBLIC_REPO##/html"
<Directory /##REPO_NAME##>
Options Indexes FollowSymLinks MultiViews
DirectoryIndex ##REPO_DIR_INDEX##

0 comments on commit 6158f69

Please sign in to comment.
Something went wrong with that request. Please try again.