2008-10-06 03:06:59 +08:00
|
|
|
AUTOMAKE_OPTIONS = gnu
|
|
|
|
|
|
|
|
webdir = @WEB_PREFIX@/tools/mootools
|
|
|
|
|
|
|
|
dist_web_DATA = \
|
2009-10-15 01:38:13 +08:00
|
|
|
mootools-1.2.3-core-nc.js \
|
|
|
|
mootools-1.2.3-core-yc.js \
|
|
|
|
mootools-1.2.3.1-more-nc.js \
|
|
|
|
mootools-1.2.3.1-more-yc.js
|
|
|
|
|
|
|
|
# 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 )
|
|
|
|
( cd $(DESTDIR)$(webdir); ln -s mootools-1.2.3-core-nc.js mootools-core.js )
|
|
|
|
( cd $(DESTDIR)$(webdir); ln -s mootools-1.2.3.1-more-nc.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-* )
|