summaryrefslogtreecommitdiff
path: root/maintMakefile
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>1999-08-12 23:16:42 +0000
committerPaul Smith <psmith@gnu.org>1999-08-12 23:16:42 +0000
commit9e79637ec3fcd24394b2d705ff7c64bd91da9b24 (patch)
tree9e9ded3254fbf8f40461a5f61c9c8db95ee2b198 /maintMakefile
parente34540f79be9c915ce1d6191575267066370f6ec (diff)
downloadgunmake-9e79637ec3fcd24394b2d705ff7c64bd91da9b24.tar.gz
* Some DOS fixes.
Diffstat (limited to 'maintMakefile')
-rw-r--r--maintMakefile20
1 files changed, 10 insertions, 10 deletions
diff --git a/maintMakefile b/maintMakefile
index 50fc396..c953717 100644
--- a/maintMakefile
+++ b/maintMakefile
@@ -20,8 +20,8 @@ MTEMPLATES = Makefile.DOS SMakefile
#
$(TEMPLATES) : % : %.template configure.in
rm -f $@
- sed -e 's@%VERSION%@$(VERSION)@' \
- -e 's@%PACKAGE%@$(PACKAGE)@' \
+ sed -e 's@%VERSION%@$(VERSION)@g' \
+ -e 's@%PACKAGE%@$(PACKAGE)@g' \
$< > $@
chmod a-w $@
@@ -29,12 +29,12 @@ $(TEMPLATES) : % : %.template configure.in
#
$(MTEMPLATES) : % : %.template .dep_segment Makefile.am maintMakefile
rm -f $@
- sed -e 's@%VERSION%@$(VERSION)@' \
- -e 's@%PROGRAMS%@$(bin_PROGRAMS)@' \
- -e 's@%SOURCES%@$(filter-out remote-%,$(make_SOURCES)) remote-$$(REMOTE).c@' \
- -e 's@%OBJECTS%@$(filter-out remote-%,$(make_OBJECTS)) remote-$$(REMOTE).o@' \
- -e 's@%GLOB_SOURCES%@$(globsrc) $(globhdr)@' \
- -e 's@%GLOB_OBJECTS%@$(globsrc:glob/%.c=%.o)@' \
+ sed -e 's@%VERSION%@$(VERSION)@g' \
+ -e 's@%PROGRAMS%@$(bin_PROGRAMS)@g' \
+ -e 's@%SOURCES%@$(filter-out remote-%,$(make_SOURCES)) remote-$$(REMOTE).c@g' \
+ -e 's@%OBJECTS%@$(filter-out remote-%,$(make_OBJECTS)) remote-$$(REMOTE).o@g' \
+ -e 's@%GLOB_SOURCES%@$(globsrc) $(globhdr)@g' \
+ -e 's@%GLOB_OBJECTS%@$(globsrc:glob/%.c=%.o)@g' \
$< > $@
echo >>$@; echo '# --------------- DEPENDENCIES' >>$@; echo '#' >>$@; \
cat $(word 2,$^) >>$@
@@ -51,8 +51,8 @@ NMakefile: NMakefile.template .dep_segment Makefile.am maintMakefile
#
build.sh.in: build.template Makefile.am maintMakefile
rm -f $@
- sed -e 's@%objs%@$(filter-out remote-%, $(make_OBJECTS)@' \
- -e 's@%globobjs%@$(patsubst %.c,%.o,$(globsrc)))@' \
+ sed -e 's@%objs%@$(filter-out remote-%, $(make_OBJECTS)@g' \
+ -e 's@%globobjs%@$(patsubst %.c,%.o,$(globsrc)))@g' \
$< > $@
chmod a-w+x $@