summaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2023-01-07 12:21:39 +0100
committerRoland Reichwein <mail@reichwein.it>2023-01-07 12:21:39 +0100
commita4dbc9de17f303b9d1ced4f743746f32aabca92a (patch)
treeb96c2886ef086ca9880153c0e6c75ce84157805d /Makefile
parentedb8e44b5a12776a6b5ce4bb5316e4c8acdd858a (diff)
Updated DISTFILES
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile125
1 files changed, 73 insertions, 52 deletions
diff --git a/Makefile b/Makefile
index adfc525..c9b0d66 100644
--- a/Makefile
+++ b/Makefile
@@ -118,43 +118,28 @@ clean:
$(MAKE) -C tests clean
-rm -rf result
+DISTFILES=$(shell git ls-files 2>/dev/null)
+ifeq ($(DISTFILES),)
DISTFILES= \
+ .gitignore \
+ LICENSE.txt \
+ Makefile \
+ README.txt \
+ TODO \
auth.cpp \
auth.h \
+ common.mk \
config.cpp \
config.h \
- http.cpp \
- http.h \
- https.cpp \
- https.h \
- main.cpp \
- plugin.cpp \
- plugin.h \
- plugin_interface.h \
- privileges.cpp \
- privileges.h \
- response.cpp \
- response.h \
- server.cpp \
- server.h \
- statistics.cpp \
- statistics.h \
- tests/Makefile \
- tests/test-environment.cpp \
- tests/test-webserver.cpp \
- webserver.h \
- webserver.cpp \
- webserver.1 \
- README.txt \
- LICENSE.txt \
- install-webserver.sh \
- Makefile \
- common.mk \
+ debian/README.Debian \
debian/changelog \
debian/compat \
debian/control \
debian/copyright \
- debian/README.Debian \
+ debian/example/banner256.png \
+ debian/example/favicon.ico \
+ debian/example/index.html \
+ debian/example/reichwein.css \
debian/rules \
debian/source/format \
debian/webserver.conf \
@@ -163,45 +148,81 @@ DISTFILES= \
debian/webserver.install \
debian/webserver.manpages \
debian/webserver.service \
- plugins/cgi/cgi.h \
+ http.cpp \
+ http.h \
+ https.cpp \
+ https.h \
+ install-webserver.sh \
+ main.cpp \
+ plugin.cpp \
+ plugin.h \
+ plugin_interface.h \
plugins/cgi/Makefile \
plugins/cgi/cgi.cpp \
+ plugins/cgi/cgi.h \
plugins/fcgi/Makefile \
plugins/fcgi/fastcgi.h \
- plugins/fcgi/fcgi.h \
plugins/fcgi/fcgi.cpp \
- plugins/fcgi/fcgiid.h \
+ plugins/fcgi/fcgi.h \
plugins/fcgi/fcgiid.cpp \
- plugins/fcgi/socket.h \
+ plugins/fcgi/fcgiid.h \
plugins/fcgi/socket.cpp \
- plugins/webbox/webbox.h \
- plugins/webbox/html/refresh-inverted.png \
+ plugins/fcgi/socket.h \
+ plugins/redirect/Makefile \
+ plugins/redirect/redirect.cpp \
+ plugins/redirect/redirect.h \
+ plugins/static-files/Makefile \
+ plugins/static-files/static-files.cpp \
+ plugins/static-files/static-files.h \
+ plugins/statistics/Makefile \
+ plugins/statistics/statistics.cpp \
+ plugins/statistics/statistics.h \
+ plugins/webbox/Makefile \
+ plugins/webbox/html/checkbox-checked.png \
+ plugins/webbox/html/checkbox.png \
plugins/webbox/html/directory.png \
+ plugins/webbox/html/favicon.ico \
plugins/webbox/html/file.png \
+ plugins/webbox/html/index.html \
plugins/webbox/html/menu.png \
+ plugins/webbox/html/refresh-inverted.png \
plugins/webbox/html/webbox.css \
- plugins/webbox/html/favicon.ico \
- plugins/webbox/html/index.html \
plugins/webbox/html/webbox.js \
- plugins/webbox/html/checkbox.png \
- plugins/webbox/html/checkbox-checked.png \
- plugins/webbox/Makefile \
plugins/webbox/webbox.cpp \
- plugins/weblog/weblog.h \
- plugins/weblog/procmail/procmailrc \
- plugins/weblog/procmail/procmail.sh \
+ plugins/webbox/webbox.h \
plugins/weblog/Makefile \
+ plugins/weblog/html/blog.css \
+ plugins/weblog/html/favicon.ico \
+ plugins/weblog/procmail/procmail.sh \
+ plugins/weblog/procmail/procmailrc \
plugins/weblog/weblog.cpp \
- plugins/redirect/Makefile \
- plugins/redirect/redirect.h \
- plugins/redirect/redirect.cpp \
- plugins/static-files/static-files.h \
- plugins/static-files/static-files.cpp \
- plugins/static-files/Makefile \
- plugins/statistics/statistics.h \
- plugins/statistics/Makefile \
- plugins/statistics/statistics.cpp
-
+ plugins/weblog/weblog.h \
+ privileges.cpp \
+ privileges.h \
+ response.cpp \
+ response.h \
+ server.cpp \
+ server.h \
+ statistics.cpp \
+ statistics.h \
+ tests/Makefile \
+ tests/test-auth.cpp \
+ tests/test-config.cpp \
+ tests/test-environment.cpp \
+ tests/test-http.cpp \
+ tests/test-https.cpp \
+ tests/test-plugin.cpp \
+ tests/test-privileges.cpp \
+ tests/test-response.cpp \
+ tests/test-server.cpp \
+ tests/test-statistics.cpp \
+ tests/test-webserver.cpp \
+ webserver.1 \
+ webserver.conf \
+ webserver.cpp \
+ webserver.h
+endif
+
dist: clean
rm -rf $(PROJECTNAME)-$(VERSION)
mkdir $(PROJECTNAME)-$(VERSION)