Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

PUBLIC_REPO instead of compiled in apache conf

  • Loading branch information...
commit 6158f6902ddeaea617c1e8a0bc831b3aa10426ed 1 parent cef40f7
Josef Urban authored

Showing 2 changed files with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. +2 2 Makefile.smallinstall
  2. +1 1  apacheconf-mizar.in
4 Makefile.smallinstall
@@ -238,8 +238,8 @@ gitweb: public-repo-export
238 238 apache2ctl restart
239 239
240 240 apacheconf:
241   - 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 }' \
242   - apacheconf-mizar.in $(REPO_NAME) $(PUBLIC_COMPILED_REPO) $(REPO_DIR_INDEX) > \
  241 + 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 }' \
  242 + apacheconf-mizar.in $(REPO_NAME) $(PUBLIC_REPO) $(REPO_DIR_INDEX) > \
243 243 $(APACHE_ROOT)/etc/apache2/sites-available/$(REPO_NAME) \
244 244 && chmod 644 $(APACHE_ROOT)/etc/apache2/sites-available/$(REPO_NAME)
245 245
2  apacheconf-mizar.in
... ... @@ -1,4 +1,4 @@
1   -Alias /##REPO_NAME## "##PUBLIC_COMPILED_REPO##/html"
  1 +Alias /##REPO_NAME## "##PUBLIC_REPO##/html"
2 2 <Directory /##REPO_NAME##>
3 3 Options Indexes FollowSymLinks MultiViews
4 4 DirectoryIndex ##REPO_DIR_INDEX##

0 comments on commit 6158f69

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