projects
/
blerg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Generalize status setting (mute, etc.)
[blerg.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
1346294
..
40ebc63
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-71,12
+71,21
@@
builddeps/scrypt.a: builddeps/scrypt-1.1.6/config.h
make -C builddeps/scrypt-1.1.6/lib/crypto CFLAGS="$(CFLAGS)"
cp builddeps/scrypt-1.1.6/lib/crypto/scrypt.a builddeps/
make -C builddeps/scrypt-1.1.6/lib/crypto CFLAGS="$(CFLAGS)"
cp builddeps/scrypt-1.1.6/lib/crypto/scrypt.a builddeps/
+.PHONY: docs
+docs: www/doc/perl www/doc/perl/Blerg-Database.html
+
+www/doc/perl:
+ mkdir $@
+
+www/doc/perl/Blerg-Database.html: lib/perl/Blerg-Database/lib/Blerg/Database.pm
+ pod2html $< > $@
+
.PHONY: install
install:
@echo "Please use 'make install-environment' to install Blërg to an environment"
.PHONY: install-environment
.PHONY: install
install:
@echo "Please use 'make install-environment' to install Blërg to an environment"
.PHONY: install-environment
-install-environment: all
+install-environment: all
docs
@if [ -z "$(ENV_DIR)" ]; then \
echo "Specify the install directory in the ENV_DIR variable"; \
exit 1; \
@if [ -z "$(ENV_DIR)" ]; then \
echo "Specify the install directory in the ENV_DIR variable"; \
exit 1; \
@@
-90,7
+99,7
@@
install-environment: all
$(ENV_DIR)/data/ref_tags \
$(ENV_DIR)/www/build \
$(ENV_DIR)/www/css \
$(ENV_DIR)/data/ref_tags \
$(ENV_DIR)/www/build \
$(ENV_DIR)/www/css \
- $(ENV_DIR)/www/doc \
+ $(ENV_DIR)/www/doc
/perl
\
$(ENV_DIR)/www/images
install --mode 755 blerg.cgi rss.cgi $(ENV_DIR)/lib/cgi-bin/
install --mode 755 blergtool blerglatest $(ENV_DIR)/bin/
$(ENV_DIR)/www/images
install --mode 755 blerg.cgi rss.cgi $(ENV_DIR)/lib/cgi-bin/
install --mode 755 blergtool blerglatest $(ENV_DIR)/bin/
@@
-103,7
+112,10
@@
install-environment: all
$(ENV_DIR)/www/css/
install --mode 644 www/doc/changelog.html www/doc/index.html \
www/doc/post_help.html www/doc/privacy_data.html \
$(ENV_DIR)/www/css/
install --mode 644 www/doc/changelog.html www/doc/index.html \
www/doc/post_help.html www/doc/privacy_data.html \
+ www/doc/contact.html \
$(ENV_DIR)/www/doc/
$(ENV_DIR)/www/doc/
+ install --mode 644 www/doc/perl/Blerg-Database.html \
+ $(ENV_DIR)/www/doc/perl/
install --mode 644 www/images/blerglogo.png www/images/corner.svg \
www/images/play.png www/images/rss.png \
$(ENV_DIR)/www/images/
install --mode 644 www/images/blerglogo.png www/images/corner.svg \
www/images/play.png www/images/rss.png \
$(ENV_DIR)/www/images/