From 451aeb32b03328ce9e93cbe9c49ec53942f63696 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Tue, 04 Sep 2012 18:38:03 -0400 Subject: Update makefiles for opkbuild 3.0.0. --- 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 \ -- cgit v0.9.1