summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-05-08 12:55:18 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-05-08 12:55:18 (EDT)
commit5a7ffe976e1bd4f1ec4a19499c8f2af3bcf82558 (patch)
treefaa739f6432e43391b9d8ab4499337580c77b0ca /lib
parent3ab916d9df099c42caa51f14b79262732c9daaad (diff)
Move code from lib/local.mk to Makefile.in.
Diffstat (limited to 'lib')
-rw-r--r--lib/local.mk21
1 files changed, 1 insertions, 20 deletions
diff --git a/lib/local.mk b/lib/local.mk
index ca3f65e..e249963 100644
--- a/lib/local.mk
+++ b/lib/local.mk
@@ -16,27 +16,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-include lib/buildsystem/local.mk
-
-lib_srcs = \
+pkglib_srcs = \
lib/load.sh \
lib/common.sh \
lib/buildsystem.sh \
$(lib_buildsystem_srcs)
-lib_pkglib = $(lib_srcs:.sh=.sm)
-lib_distfiles = lib/local.mk $(lib_srcs) $(lib_buildsystem_distfiles)
-
-# FIXME: libopkhelper is deprecated. Migrate code and remove this variable.
-lib_script = \
- s&@@PACKAGE_NAME@@&$(package_name)&;\
- s&@@PACKAGE_VERSION@@&$(package_version)&;\
- s&@@PKGLIBDIR@@&$(pkglibdir)&;\
- s&@@LIBOPKHELPER@@&$(libopkhelper)&;\
- s&@@LOCALEDIR@@&$(localedir)&;\
- s&@@SH@@&$(sh)&;
-
-.SUFFIXES: .sh .sm
-
-.sh.sm:
- @printf ' SED %s\n' '$*.sm'
- @sed '$(lib_script)' '$(srcdir)/$*.sh' >'$*.sm'