scsh-yp/scheme/Makefile.am

20 lines
557 B
Makefile
Raw Normal View History

2003-11-25 17:09:52 -05:00
scheme_SCRIPTS=load-yp.scm
nobase_scheme_SCRIPTS= \
2003-12-02 11:39:29 -05:00
yp.scm yp-interfaces.scm yp-packages.scm configure.scm
2003-11-25 17:09:52 -05:00
EXTRA_DIST= $(scheme_SCRIPTS) $(nobase_scheme_SCRIPTS)
CLEANFILES= load-yp.scm
load-yp.scm: $(srcdir)/load-yp.scm.in
sed -e "s|@ypschemedir@|`pwd`/$(srcdir)|g" \
2003-12-02 05:41:33 -05:00
-e "s|@yphost@||g" \
2003-11-25 17:09:52 -05:00
-e "s|@yplibsysdir@|`pwd`/../c/.libs|g" $< > $@
install-data-hook:
sed -e "s|@ypschemedir@|$(schemedir)|g" \
2003-12-02 05:41:33 -05:00
-e "s|@yphost@|(host)|g" \
2003-12-02 11:39:29 -05:00
-e "s|@yplibsysdir@|$(libdir)|g" \
2003-11-25 17:09:52 -05:00
$(srcdir)/load-yp.scm.in \
> $(DESTDIR)/$(schemedir)/load-yp.scm