diff options
author | Roland Reichwein <mail@reichwein.it> | 2020-05-30 19:24:24 +0200 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2020-05-30 19:24:24 +0200 |
commit | 9cea4e42e4619d0724f636d040c94128b181f719 (patch) | |
tree | e710e8f581bb82ea704b0ffa7c462335bed4fd98 /Makefile | |
parent | 28e590d5c2d6d3bb38eae7cb1978af233ecb5f64 (diff) |
Added debian/
Diffstat (limited to 'Makefile')
-rwxr-xr-x | Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -24,12 +24,22 @@ all: build ./start.sh install: + mkdir -p $(DESTDIR)/usr/lib/downtube + cp downtube.fcgi $(DESTDIR)/usr/lib/downtube/ + + mkdir -p $(DESTDIR)/usr/lib/downtube/html + cp -r html/* $(DESTDIR)/usr/lib/downtube/html/ + + uglifyjs html/downtube.js -m -c > $(DESTDIR)/usr/lib/downtube/html/downtube.js + htmlmin html/index.html $(DESTDIR)/usr/lib/downtube/html/index.html + cleancss -o $(DESTDIR)/usr/lib/downtube/html/downtube.css html/downtube.css + downtube.fcgi: $(OBJECTS) # link %.fcgi: %.o - $(CXX) $(CFLAGS) $(LIBS) -o $@ $^ + $(CXX) $(CPPFLAGS) $(LIBS) -o $@ $^ # .cpp -> .o %.o: %.cpp |