Fixed basesystem looping at first step (bnc#556818).
[opensuse:yast-web-client.git] / Makefile
1 all:
2         (cd webclient; rake db:migrate; rake makemo)
3
4 pot:
5         (cd webclient; rake updatepo)
6
7 distclean: 
8         rm po/yast_webclient.pot; \
9         rm -rf package; \
10         find . -name "*.bak" -exec rm {} \; ;\
11
12 dist: distclean
13         cp -R webclient www; \
14         find www -name "*.auto" -exec rm {} \;; \
15         find www -name ".gitignore" -exec rm {} \;; \
16         rm -f www/db/*.sqlite3; \
17         rm -rf www/package; \
18         rm -f www/log/development.log; \
19         mkdir -p www/tmp/sockets; \
20         mkdir -p www/tmp/sessions; \
21         mkdir -p www/tmp/pids; \
22         mkdir -p www/tmp/cache; \
23         (for i in `ls www/vendor/plugins`; do if test -L www/vendor/plugins/$$i; then rm www/vendor/plugins/$$i; fi; done); \
24         tar cvfj webclient/package/www.tar.bz2 www; \
25         chmod 644 webclient/package/www.tar.bz2; \
26         rm -rf www