summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-03-06 13:48:58 (EST)
committer P. J. McDermott <pjm@nac.net>2012-03-06 13:48:58 (EST)
commitffede375da86950a1518b10b80f0a0bea2f749b3 (patch)
tree57ffd2bdc2779d4bbc54ba71f40427543a041750
parente206c6620ac6c3f2fd01dd2d1b1390e6e262cd8f (diff)
Fix $(OBJS) targets in build system.
-rw-r--r--lib/Makefile.in3
-rw-r--r--man/Makefile.in3
-rw-r--r--src/Makefile.in3
3 files changed, 6 insertions, 3 deletions
diff --git a/lib/Makefile.in b/lib/Makefile.in
index 53dc1b6..711eee1 100644
--- a/lib/Makefile.in
+++ b/lib/Makefile.in
@@ -26,6 +26,7 @@ PREFIX = @prefix@
LIBDIR = @libdir@
.SUFFIXES:
+.SUFFIXES: .sh
SRCS = controlfields.sh architecture.sh archive.sh
OBJS = $(SRCS:.sh=)
@@ -41,7 +42,7 @@ all: $(OBJS)
$(OBJS):
@printf ' SED %s\n' '$@'
- @sed -f ../sedscript $(SRCDIR)/lib/$*.sh > $@
+ @sed -f ../sedscript $(SRCDIR)/lib/$@.sh > $@
.PHONY: clean
clean:
diff --git a/man/Makefile.in b/man/Makefile.in
index 3868c97..8746363 100644
--- a/man/Makefile.in
+++ b/man/Makefile.in
@@ -26,6 +26,7 @@ PREFIX = @prefix@
MANDIR = @mandir@
.SUFFIXES:
+.SUFFIXES: .in
SRCS = opkbuild.1.in \
oh-checkbuilddeps.1.in oh-applypatches.1.in oh-copyconfig.1.in \
@@ -44,7 +45,7 @@ all: $(OBJS)
$(OBJS):
@printf ' CP man/%s\n' '$@'
- @cp $(SRCDIR)/man/$*.in $@
+ @cp $(SRCDIR)/man/$@.in $@
.PHONY: clean
clean:
diff --git a/src/Makefile.in b/src/Makefile.in
index ff338da..1037f98 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -26,6 +26,7 @@ PREFIX = @prefix@
BINDIR = @bindir@
.SUFFIXES:
+.SUFFIXES: .sh
SRCS = opkbuild.sh \
oh-checkbuilddeps.sh oh-applypatches.sh oh-copyconfig.sh \
@@ -44,7 +45,7 @@ all: $(OBJS)
$(OBJS):
@printf ' SED %s\n' '$@'
- @sed -f ../sedscript $(SRCDIR)/src/$*.sh > $@
+ @sed -f ../sedscript $(SRCDIR)/src/$@.sh > $@
.PHONY: clean
clean: