-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
26 lines (23 loc) · 828 Bytes
/
Makefile
File metadata and controls
26 lines (23 loc) · 828 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
all:
(cd webclient; rake db:migrate; rake makemo)
pot:
(cd webclient; rake updatepo)
distclean:
rm po/yast_webclient.pot; \
rm -rf package; \
find . -name "*.bak" -exec rm {} \; ;\
dist: distclean
cp -R webclient www; \
find www -name "*.auto" -exec rm {} \;; \
find www -name ".gitignore" -exec rm {} \;; \
rm -f www/db/*.sqlite3; \
rm -rf www/package; \
rm -f www/log/development.log; \
mkdir -p www/tmp/sockets; \
mkdir -p www/tmp/sessions; \
mkdir -p www/tmp/pids; \
mkdir -p www/tmp/cache; \
(for i in `ls www/vendor/plugins`; do if test -L www/vendor/plugins/$$i; then rm www/vendor/plugins/$$i; fi; done); \
tar cvfj webclient/package/www.tar.bz2 www; \
chmod 644 webclient/package/www.tar.bz2; \
rm -rf www