debian-koji/www/kojiweb/templates/Makefile
2025-05-07 14:07:04 +02:00

18 lines
344 B
Makefile

SERVERDIR = /templates
FILES = $(wildcard *.html.j2)
_default:
@echo "nothing to make. try make install"
clean:
rm -f *.o *.so *.pyc *~
install:
@if [ "$(DESTDIR)" = "" ]; then \
echo " "; \
echo "ERROR: A destdir is required"; \
exit 1; \
fi
mkdir -p $(DESTDIR)/$(SERVERDIR)
install -p -m 644 $(FILES) $(DESTDIR)/$(SERVERDIR)