diff options
| author | Roland Reichwein <mail@reichwein.it> | 2020-04-03 13:54:08 +0200 | 
|---|---|---|
| committer | Roland Reichwein <mail@reichwein.it> | 2020-04-03 13:54:08 +0200 | 
| commit | d8c3333e7a7330c10bb96e426482e2b158011251 (patch) | |
| tree | 761dbe37aa3da1900826ffc8db6d89ecdea96927 /Makefile | |
| parent | e60bb89a6d1392c0007a1fbc03faf007faf76167 (diff) | |
Added configuration file (WIP)
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  | 
