summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-09-04 18:38:03 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-09-04 18:38:03 (EDT)
commit451aeb32b03328ce9e93cbe9c49ec53942f63696 (patch)
treed6cb2fe1b99a5aadda05a0e01168fc75d917efc8
parent3e96c590f3775b19a28de2d734a32a152e2899d3 (diff)
Update makefiles for opkbuild 3.0.0.
-rw-r--r--Makefile.in2
-rw-r--r--lib/Makefile.in15
-rw-r--r--man/Makefile.in42
-rw-r--r--src/Makefile.in20
4 files changed, 54 insertions, 25 deletions
diff --git a/Makefile.in b/Makefile.in
index 00446b8..4b643b0 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1,4 +1,4 @@
-# opkhelper
+# opkbuild
# Makefile.in
# Input Makefile for configure.
#
diff --git a/lib/Makefile.in b/lib/Makefile.in
index d13a909..d0269c0 100644
--- a/lib/Makefile.in
+++ b/lib/Makefile.in
@@ -34,13 +34,12 @@ sed_script = s&@@PACKAGE_NAME@@&$(package_name)&;\
.SUFFIXES:
.SUFFIXES: .sh
-SRCS = control.sh \
- changelog.sh \
- locale.sh \
- messages.sh \
- cache.sh \
- util.sh
-OBJS = $(SRCS:.sh=)
+SRCS = locale.sh output.sh \
+ package.sh package/2.sh \
+ control.sh changelog.sh \
+ metadata.sh deps.sh \
+ arch.sh plat.sh
+OBJS = $(SRCS:.sh=.sm)
distdir = ../$(package_name)-$(package_version)/lib
distfiles = Makefile.in $(SRCS)
@@ -49,7 +48,7 @@ all: $(OBJS)
$(OBJS):
@printf ' SED lib/%s\n' '$@'
- @sed '$(sed_script)' '$(srcdir)/lib/$@.sh' >'$@'
+ @sed '$(sed_script)' '$(srcdir)/lib/$<' >'$@'
clean:
@for obj in $(OBJS); do \
diff --git a/man/Makefile.in b/man/Makefile.in
index ff942ae..9342070 100644
--- a/man/Makefile.in
+++ b/man/Makefile.in
@@ -1,4 +1,4 @@
-# opkhelper
+# opkbuild
# Makefile.in
# Input Makefile for configure.
#
@@ -35,12 +35,40 @@ sed_script = s&@@PACKAGE_NAME@@&$(package_name)&;\
.SUFFIXES:
.SUFFIXES: .in
-SRCS = opkhelper.7.in \
- oh_error.3.in \
- oh_warn.3.in \
- oh_info.3.in \
- oh_locale_set.3.in \
- oh_changelog_parse.3.in
+SRCS_1 = opkbuild.1.in \
+ ob-checkbuilddeps.1.in \
+ ob-buildenv.1.in \
+ ob-unpacksource.1.in \
+ ob-applypatches.1.in \
+ ob-installplatconf.1.in \
+ ob-installdocs.1.in \
+ ob-gencontrol.1.in \
+ ob-buildopk.1.in \
+ ob-genchanges.1.in \
+SRCS_3 = ob_set_locale.3.in \
+ ob_set_locale_domain.3.in \
+ ob_error.3.in \
+ ob_warn.3.in \
+ ob_info.3.in \
+ ob_init_package.3.in \
+ ob_parse_package_metadata.3.in \
+ ob_get_binary_packages.3.in \
+ ob_get_source_parameter.3.in \
+ ob_get_binary_parameter.3.in \
+ ob_summarize_package_arch.3.in \
+ ob_summarize_package_plat.3.in \
+ ob_parse_control.3.in \
+ ob_parse_changelog.3.in \
+ ob_validate_source_package_name.3.in \
+ ob_validate_binary_package_name.3.in \
+ ob_parse_version.3.in \
+ ob_reduce_build_deps.3.in \
+ ob_reduce_runinst_deps.3.in \
+ ob_get_system_arch.3.in \
+ ob_match_arch.3.in \
+ ob_get_system_plat.3.in \
+ ob_match_plat.3.in
+SRCS = $(SRCS_1) $(SRCS_3)
OBJS = $(SRCS:.in=)
distdir = ../$(package_name)-$(package_version)/lib
diff --git a/src/Makefile.in b/src/Makefile.in
index 65de5af..fc3e0c0 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -1,4 +1,4 @@
-# opkhelper
+# opkbuild
# Makefile.in
# Input Makefile for configure.
#
@@ -36,13 +36,15 @@ sed_script = s&@@PACKAGE_NAME@@&$(package_name)&;\
.SUFFIXES: .sh
SRCS = opkbuild.sh \
- oh-checkbuilddeps.sh \
- oh-unpacksource.sh \
- oh-applypatches.sh \
- oh-copyconfig.sh \
- oh-strip.sh \
- oh-gencontrol.sh \
- oh-parsechangelog.sh
+ ob-checkbuilddeps.sh \
+ ob-buildenv.sh \
+ ob-unpacksource.sh \
+ ob-applypatches.sh \
+ ob-installplatconf.sh \
+ ob-installdocs.sh \
+ ob-gencontrol.sh \
+ ob-buildopk.sh \
+ ob-genchanges.sh
OBJS = $(SRCS:.sh=)
distdir = ../$(package_name)-$(package_version)/src
@@ -52,7 +54,7 @@ all: $(OBJS)
$(OBJS):
@printf ' SED src/%s\n' '$@'
- @sed '$(sed_script)' '$(srcdir)/src/$@.sh' >'$@'
+ @sed '$(sed_script)' '$(srcdir)/src/$<' >'$@'
clean:
@for obj in $(OBJS); do \