summaryrefslogtreecommitdiffstats
path: root/advertising/Makefile
blob: cca1bb430024b100c417a9cc5f8e5a3438fd2cae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
VERSION = 0.5
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