diff options
author | P. J. McDermott <pjm@nac.net> | 2012-10-08 21:10:06 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2012-10-08 21:10:06 (EDT) |
commit | dc34cb8e44c1415cee53ca0119946341664a48f1 (patch) | |
tree | f7cfcd41e1d389745f096730530bbca5c9a3c670 | |
parent | bb5239471d3628e79dc44fa3345a052f88199eeb (diff) |
Support OPKHELPER_3_0 macro in makefiles.
-rw-r--r-- | Makefile.in | 4 | ||||
-rw-r--r-- | lib/metadata/Makefile.in | 4 |
2 files changed, 6 insertions, 2 deletions
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 |