a single CSS file for Koha MKWS
[mkws-moved-to-github.git] / tools / htdocs / external / koha / Makefile
diff --git a/tools/htdocs/external/koha/Makefile b/tools/htdocs/external/koha/Makefile
new file mode 100644 (file)
index 0000000..7bfbbed
--- /dev/null
@@ -0,0 +1,18 @@
+E_DIR= ../../../../examples/htdocs
+COMPONENTS = ${E_DIR}/mkws-widget-reference.css
+
+KOHA_CSS = koha-mkws.css 
+KOHA_COMPLETE_CSS = koha-mkws-complete.css 
+
+all: ${KOHA_COMPLETE_CSS}
+
+clean:
+       rm -f ${KOHA_COMPLETE_CSS}
+
+${KOHA_COMPLETE_CSS}:
+       cat ${COMPONENTS} ${KOHA_CSS} > $@.tmp
+       mv -f $@.tmp $@
+
+distclean: clean
+       rm -f *.orig *.bak *.rej
+