summaryrefslogtreecommitdiffstats
path: root/lib/local.mk
diff options
context:
space:
mode:
Diffstat (limited to 'lib/local.mk')
-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'