diff options
author | Dennis Gilmore <dennis@ausil.us> | 2009-12-06 16:42:25 -0600 |
---|---|---|
committer | Dennis Gilmore <dennis@ausil.us> | 2009-12-06 16:42:25 -0600 |
commit | 03dc5bcc01d3adda16b9eca40d6a6fcee2c1ce1c (patch) | |
tree | 034113abfe1b52ecddfa9e32fa91c46bb01dace2 /www/Makefile | |
download | koji-theme-fedora-sparc-master.tar.gz koji-theme-fedora-sparc-master.tar.xz koji-theme-fedora-sparc-master.zip |
Diffstat (limited to 'www/Makefile')
-rw-r--r-- | www/Makefile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile new file mode 100644 index 0000000..dc1edac --- /dev/null +++ b/www/Makefile @@ -0,0 +1,23 @@ +SUBDIRS = static + +_default: + @echo "nothing to make. try make install" + +clean: + rm -f *.o *.so *.pyc *~ + for d in $(SUBDIRS); do make -s -C $$d clean; done + +install: + @if [ "$(DESTDIR)" = "" ]; then \ + echo " "; \ + echo "ERROR: A destdir is required"; \ + exit 1; \ + fi + + mkdir -p $(DESTDIR)/usr/share/koji-themes/fedora-sparc/ + + mkdir -p $(DESTDIR)/etc/httpd/conf.d + install -p -m 644 httpd.conf $(DESTDIR)/etc/httpd/conf.d/00kojifedorasparc.conf + + for d in $(SUBDIRS); do make DESTDIR=$(DESTDIR) \ + -C $$d install; [ $$? = 0 ] || exit 1; done |