- add new generation of makefile

This commit is contained in:
Stanislav Ievlev 2009-06-23 11:30:07 +04:00
parent 1d6cff249d
commit f9f74b4f6e

17
components.mk Normal file
View File

@ -0,0 +1,17 @@
# browser-qt
alterator/design/bg.png: alterator/images/background.png
convert $< -resize '800x600!' -fill '#c62530' -font /usr/share/fonts/ttf/dejavu/DejaVuSansCondensed-Bold.ttf -style Normal -weight Normal -pointsize 20 -gravity northeast -draw 'text 25,25 "$(STATUS)"' $@
browser-qt:alterator/design/bg.png
install -d $(datadir)/alterator-browser-qt/design
rcc-qt4 -root $(shell pwd)/alterator -binary alterator/theme.qrc -o $(datadir)/alterator-browser-qt/design/$(THEME).rcc
install -d $(sysconfdir)/alternatives/packages.d
printf '/etc/alterator/design-browser-qt\t/usr/share/alterator-browser-qt/design/$(THEME).rcc\t50\n'>$(sysconfdir)/alternatives/packages.d/$(THEME).rcc
# ahttpd
ahttpd:
install -d $(datadir)/alterator/design/styles
cp -a alterator/images $(datadir)/alterator/design
cp -a alterator/styles/*.css $(datadir)/alterator/design/styles