summaryrefslogtreecommitdiffstats
path: root/www/static/Makefile
diff options
context:
space:
mode:
authorDennis Gilmore <dennis@ausil.us>2009-12-06 16:42:25 -0600
committerDennis Gilmore <dennis@ausil.us>2009-12-06 16:42:25 -0600
commit03dc5bcc01d3adda16b9eca40d6a6fcee2c1ce1c (patch)
tree034113abfe1b52ecddfa9e32fa91c46bb01dace2 /www/static/Makefile
downloadkoji-theme-fedora-sparc-master.tar.gz
koji-theme-fedora-sparc-master.tar.xz
koji-theme-fedora-sparc-master.zip
import of sparc koji theme from hg repo. with changes for MakefileHEADmaster
Diffstat (limited to 'www/static/Makefile')
-rw-r--r--www/static/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/www/static/Makefile b/www/static/Makefile
new file mode 100644
index 0000000..7f2b58b
--- /dev/null
+++ b/www/static/Makefile
@@ -0,0 +1,24 @@
+SUBDIRS = images errors
+
+SERVERDIR = /usr/share/koji-themes/fedora-sparc/
+FILES = $(wildcard *.css)
+
+_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)/$(SERVERDIR)
+ install -p -m 644 $(FILES) $(DESTDIR)/$(SERVERDIR)
+
+ for d in $(SUBDIRS); do make DESTDIR=$(DESTDIR)/$(SERVERDIR) \
+ -C $$d install; [ $$? = 0 ] || exit 1; done