summaryrefslogtreecommitdiffstats
path: root/advertising/Makefile
blob: e0cc7615ae7fc0c80f5f2a860a3588b16f6e1597 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
VERSION = 9
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:
	git archive --prefix $(PRODUCT)-$(VERSION)/ HEAD | xz -9 > $(PRODUCT)-$(VERSION).tar.xz

clean:
	find . -name "*~" -o -name ".#*" | xargs rm -f