| 1 |
#!/usr/bin/make -f |
| 2 |
# See debhelper(7) (uncomment to enable) |
| 3 |
# output every command that modifies files on the build system. |
| 4 |
#DH_VERBOSE = 1 |
| 5 |
|
| 6 |
%: |
| 7 |
dh $@ |
| 8 |
|
| 9 |
override_dh_auto_build: |
| 10 |
cd build;\ |
| 11 |
uglifyjs -o jsxc.min.js jsxc.js;\ |
| 12 |
uglifyjs -o lib/jsxc.dep.min.js lib/jsxc.dep.js;\ |
| 13 |
uglifyjs -o lib/otr/build/otr.min.js lib/otr/build/otr.js;\ |
| 14 |
cd .. |
| 15 |
|
| 16 |
override_dh_auto_clean: |
| 17 |
dh_auto_clean |
| 18 |
cd build;\ |
| 19 |
rm -f jsxc.min.js lib/jsxc.dep.min.js lib/otr/build/otr.min.js;\ |
| 20 |
cd .. |