20 lines
557 B
Makefile
20 lines
557 B
Makefile
scheme_SCRIPTS=load-yp.scm
|
|
|
|
nobase_scheme_SCRIPTS= \
|
|
yp.scm yp-interfaces.scm yp-packages.scm configure.scm
|
|
|
|
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" \
|
|
-e "s|@yphost@||g" \
|
|
-e "s|@yplibsysdir@|`pwd`/../c/.libs|g" $< > $@
|
|
|
|
install-data-hook:
|
|
sed -e "s|@ypschemedir@|$(schemedir)|g" \
|
|
-e "s|@yphost@|(host)|g" \
|
|
-e "s|@yplibsysdir@|$(libdir)|g" \
|
|
$(srcdir)/load-yp.scm.in \
|
|
> $(DESTDIR)/$(schemedir)/load-yp.scm
|