Commit daa2a44c authored by Stanislav Ievlev's avatar Stanislav Ievlev

- move all components into subdirectory

- remove unused Makefile - split alterator into ahttpd and browser-qt
parent be005331
all:
rcc-qt4 -binary theme.qrc -o theme.rcc
# browser-qt
alterator/design/bg.png: images/installer.png
components/browser-qt/design/bg.png: images/installer.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
browser-qt:components/browser-qt/design/bg.png
install -d $(datadir)/alterator-browser-qt/design
cd alterator; rcc-qt4 -binary theme.qrc -o $(datadir)/alterator-browser-qt/design/$(THEME).rcc; cd -
cd components/browser-qt; rcc-qt4 -binary theme.qrc -o $(datadir)/alterator-browser-qt/design/$(THEME).rcc; cd -
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
......@@ -13,6 +13,6 @@ browser-qt:alterator/design/bg.png
ahttpd:
install -d $(datadir)/alterator/design/styles
cp -a alterator/images $(datadir)/alterator/design
cp -a components/ahttpd/images $(datadir)/alterator/design
[ ! -f images/logo.png ] || convert images/logo.png -fill '#ffffff' -font /usr/share/fonts/ttf/dejavu/DejaVuSans-Bold.ttf -style Normal -weight Normal -pointsize 24 -gravity northwest -draw 'text 0,0 "$(VERSION) $(NAME)"' $(datadir)/alterator/design/images/logo.png
cp -a alterator/styles/*.css $(datadir)/alterator/design/styles
cp -a components/ahttpd/styles/*.css $(datadir)/alterator/design/styles
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment