summaryrefslogtreecommitdiffstats
path: root/advertising/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'advertising/Makefile')
-rw-r--r--advertising/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/advertising/Makefile b/advertising/Makefile
new file mode 100644
index 000000000..827e8eb1c
--- /dev/null
+++ b/advertising/Makefile
@@ -0,0 +1,21 @@
+VERSION = 0.2
+PRODUCT = drakx-installer-advertising
+
+THEME = pwp
+DESTDIR = $(ROOTDEST)/install/extra/advertising
+
+install:
+ rm -rf $(DESTDIR)
+ install -d $(DESTDIR)
+ install -m755 `cat list-$(THEME) | sed 's/png$$/pl/'` $(DESTDIR)
+ install -m644 `cat list-$(THEME)` $(DESTDIR)
+ install -m644 list-$(THEME) $(DESTDIR)/list
+
+tar:
+ rm -rf $(PRODUCT)*.tar* $(PRODUCT)-$(VERSION)
+ svn export -q . $(PRODUCT)-$(VERSION)
+ tar cfj $(PRODUCT)-$(VERSION).tar.bz2 $(PRODUCT)-$(VERSION)
+ rm -rf $(PRODUCT)-$(VERSION)
+
+clean:
+ find . -name "*~" -o -name ".#*" | xargs rm -f