diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -56,6 +56,7 @@ LIBS+= \ endif PROGSRC=\ + config.cpp \ http.cpp \ http_debian10.cpp @@ -69,6 +70,7 @@ SRC=$(PROGSRC) webserver.cpp all: test-$(PROJECTNAME) $(PROJECTNAME) ./test-$(PROJECTNAME) + ./webserver -c webserver.conf # testsuite ---------------------------------------------- test-$(PROJECTNAME): $(TESTSRC:.cpp=.o) @@ -96,6 +98,12 @@ install: mkdir -p $(DESTDIR)/usr/bin cp webserver $(DESTDIR)/usr/bin + mkdir -p $(DESTDIR)/usr/lib/webserver/plugins + mkdir -p $(DESTDIR)/usr/local/lib/webserver/plugins + + mkdir -p $(DESTDIR)/etc + cp webserver.conf $(DESTDIR)/etc/webserver.conf + # misc --------------------------------------------------- deb: # build binary deb package |