zoneminder/web/tools/mootools/Makefile.am

17 lines
490 B
Makefile
Raw Normal View History

AUTOMAKE_OPTIONS = gnu
webdir = @WEB_PREFIX@/tools/mootools
dist_web_DATA = \
2015-05-10 06:23:01 +08:00
mootools-core-1.4.5-compat.js \
2015-04-13 06:52:01 +08:00
mootools-more-1.5.1.js
# Yes, you are correct. This is a HACK!
install-data-hook:
( cd $(DESTDIR)$(webdir); rm -f mootools-core.js mootools-more.js )
2015-05-10 06:23:01 +08:00
( cd $(DESTDIR)$(webdir); ln -sf mootools-core-1.4.5-compat.js mootools-core.js )
( cd $(DESTDIR)$(webdir); ln -sf mootools-more-1.5.1.js mootools-more.js )
uninstall-hook:
@-( cd $(DESTDIR)$(webdir); rm -f mootools-* )