debian-koji/www/kojiweb/includes/Makefile
2007-02-20 10:01:29 -05:00

18 lines
341 B
Makefile

SERVERDIR = /includes
FILES = $(wildcard *.chtml)
_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)