diff options
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 |