Commits

Bryan O'Sullivan committed 9ad39ea

Moar fixen

Comments (0)

Files changed (1)

 files := index.html tutorial.html
 deps = bootstrap-custom.css background.jpg
 install := $(files) $(deps)
+destdir := $(HOME)/public_html/criterion
 
 all: $(files)
 
 install: $(files)
-	-mkdir -p $(HOME)/public_html/criterion
-	cp -a $(install) $(HOME)/public_html/criterion
-	cp -a $(bootstrap) $(HOME)/public_html/criterion
+	-mkdir -p $(destdir)
+	cp -a $(install) $(destdir)
+	cp -a $(bootstrap) $(destdir)
 	-chcon -R -t httpd_sys_content_t $(destdir)
 
 %.html: %.md template.html $(deps)