$NetBSD: patch-ad,v 1.1.1.1 2003/07/17 14:19:16 agc Exp $ --- src/tools/xpbsmon/Makefile.in 2003/07/17 13:47:50 1.1 +++ src/tools/xpbsmon/Makefile.in 2003/07/17 13:48:52 @@ -112,10 +112,7 @@ # xpbsmon: $(srcdir)/xpbsmon.src @echo Processing xpbsmon - @sed -e 's,#\!.*pbs_wish.*$$,#\!../pbs_wish -f,' \ - -e 's,set *libdir.*$$,set libdir $(srcdir),' \ - -e 's,set *appdefdir.*$$,set appdefdir .,' \ - $? > $@ + @cp ${srcdir}/xpbsmon.src xpbsmon @chmod +x $@ xpbsmonrc: $(srcdir)/xpbsmonrc.src @@ -124,7 +121,7 @@ buildindex: $(srcdir)/buildindex.src @echo Processing buildindex - @sed 's,#\!.*tclsh.*$$,#\!${TCLSH_PATH},' $? > $@ + @cp ${srcdir}/buildindex.src buildindex @chmod +x $@ @echo Running buildindex \(locally\) @./buildindex $(srcdir) . @@ -151,10 +148,7 @@ # # install xpbsmon changing the location of pbs_tclsh and libdir # - sed -e 's,#\!.*pbs_wish.*$$,#\!$(PBS_UBIN)/pbs_wish -f,' \ - -e 's,set *libdir.*$$,set libdir ${XPBSMON_LIB},' \ - -e 's,set *appdefdir.*$$,set appdefdir ${XPBSMON_LIB},' \ - xpbsmon > $(bindir)/xpbsmon + cp xpbsmon $(bindir)/xpbsmon chmod 755 $(bindir)/xpbsmon 2> /dev/null # $(INSTALL) -m 755 buildindex $(XPBSMON_LIB)