Remove /unsubscribe from htaccess config
[blerg.git] / Makefile
index 40ebc63..947c935 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 include libs.mk
 
 ARCH=$(shell uname -m)
-CFLAGS ?= -g
+CFLAGS ?= -g -Wall
 ifeq ($(ARCH),x86_64)
        CFLAGS += -fPIC
 endif
@@ -13,7 +13,7 @@ HTTP_LIBDIRS = $(MHD_LIBDIR) $(YAJL_LIBDIR)
 CGI_LIBDIRS = $(CGI_UTIL_LIBDIR) $(YAJL_LIBDIR)
 
 targets = blerg.a blerg_auth.a blergtool blerglatest blerg.cgi perl-lib www/build/enyo-blerg.js
-blerg_a_objects = database/database.o database/tags.o database/util.o database/configuration.o database/subscription.o common/stringbucket.o
+blerg_a_objects = database/database.o database/tags.o database/util.o database/configuration.o database/subscription.o common/stringbucket.o common/stringring.o
 blerg_auth_a_objects = common/auth.o common/md5.o
 blergtool_objects = tools/blergtool.o blerg.a
 blerglatest_objects = tools/blerglatest.o blerg.a common/json.o
@@ -101,8 +101,8 @@ install-environment: all docs
                $(ENV_DIR)/www/css \
                $(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/
+       install --mode 755 blerg.cgi aux/cgi/*.cgi $(ENV_DIR)/lib/cgi-bin/
+       install --mode 755 blergtool blerglatest aux/bin/* $(ENV_DIR)/bin/
        install --mode 644 www/favicon.gif www/favicon.ico www/index.html \
                www/welcome.html \
                $(ENV_DIR)/www/