From dc34cb8e44c1415cee53ca0119946341664a48f1 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Mon, 08 Oct 2012 21:10:06 -0400 Subject: Support OPKHELPER_3_0 macro in makefiles. --- diff --git a/Makefile.in b/Makefile.in index 3595854..b487d96 100644 --- a/Makefile.in +++ b/Makefile.in @@ -29,6 +29,7 @@ mandir = @mandir@ sysconfdir = @sysconfdir@ libopkbuild = @libopkbuild@ metadata = @metadata@ +opkhelper_3_0 = @opkhelper_3_0@ DESTDIR = / @@ -43,7 +44,8 @@ MACROS = \ 'mandir=$(mandir)' \ 'sysconfdir=$(sysconfdir)' \ 'libopkbuild=$(libopkbuild)' \ - 'metadata=$(metadata)' + 'metadata=$(metadata)' \ + 'opkhelper_3_0=$(opkhelper_3_0)' distdir = $(package_name)-$(package_version) distfiles = configure Makefile.in COPYING README INSTALL ChangeLog TODO diff --git a/lib/metadata/Makefile.in b/lib/metadata/Makefile.in index fed4417..6751887 100644 --- a/lib/metadata/Makefile.in +++ b/lib/metadata/Makefile.in @@ -25,12 +25,14 @@ prefix = @prefix@ libdir = @libdir@ datadir = @datadir@ sysconfdir = @sysconfdir@ +opkhelper_3_0 = @opkhelper_3_0@ sed_script = s&@@PACKAGE_NAME@@&$(package_name)&;\ s&@@PACKAGE_VERSION@@&$(package_version)&;\ s&@@LIBDIR@@&$(libdir)&;\ s&@@DATADIR@@&$(datadir)&;\ - s&@@SYSCONFDIR@@&$(sysconfdir)&; + s&@@SYSCONFDIR@@&$(sysconfdir)&;\ + s&@@OPKHELPER_3_0@@&$(opkhelper_3_0)&; .SUFFIXES: .SUFFIXES: .sh .sm -- cgit v0.9.1