2008-10-06 03:06:59 +08:00
|
|
|
AUTOMAKE_OPTIONS = gnu
|
|
|
|
|
|
|
|
webdir = @WEB_PREFIX@/tools/mootools
|
|
|
|
|
|
|
|
dist_web_DATA = \
|
2011-06-21 17:19:10 +08:00
|
|
|
mootools-core-1.3.2-nc.js \
|
|
|
|
mootools-core-1.3.2-yc.js \
|
|
|
|
mootools-more-1.3.2.1-nc.js \
|
|
|
|
mootools-more-1.3.2.1-yc.js
|
2009-10-15 01:38:13 +08:00
|
|
|
|
|
|
|
# Yes, you are correct. This is a HACK!
|
|
|
|
install-data-hook:
|
2009-10-15 02:16:34 +08:00
|
|
|
( cd $(DESTDIR)$(webdir); rm -f mootools-core.js mootools-more.js )
|
2011-06-21 17:19:10 +08:00
|
|
|
( cd $(DESTDIR)$(webdir); ln -s mootools-core-1.3.2-yc.js mootools-core.js )
|
|
|
|
( cd $(DESTDIR)$(webdir); ln -s mootools-more-1.3.2.1-yc.js mootools-more.js )
|
2009-10-15 01:38:13 +08:00
|
|
|
|
|
|
|
uninstall-hook:
|
2009-10-15 02:16:34 +08:00
|
|
|
@-( cd $(DESTDIR)$(webdir); rm -f mootools-* )
|