areacode/Makefile.in: convert .config -> scripts/autoconf.mk
Convert areacode's Makefile.in to use the generated Makefile-snippet scripts/autoconf.mk instead of the shell-script snippet .config.
This commit is contained in:
parent
6a29b5c629
commit
a5bbf79daa
|
@ -4,9 +4,9 @@
|
||||||
# the original Makefile, it is called GNUmakefile.
|
# the original Makefile, it is called GNUmakefile.
|
||||||
#
|
#
|
||||||
|
|
||||||
ifeq (../.config,$(wildcard ../.config))
|
ifeq (../scripts/autoconf.mk,$(wildcard ../scripts/autoconf.mk))
|
||||||
include ../.config
|
include ../scripts/autoconf.mk
|
||||||
DATAOPTS := DATATARGET=$(shell echo $(DESTDIR)$(CONFIG_DATADIR))/areacodes
|
DATAOPTS := DATATARGET=$(DESTDIR)$(CONFIG_DATADIR)/areacodes
|
||||||
#
|
#
|
||||||
# Install as root with numeric Id's, since these are the
|
# Install as root with numeric Id's, since these are the
|
||||||
# only ones that _really_ exist on _every_ system.
|
# only ones that _really_ exist on _every_ system.
|
||||||
|
@ -42,4 +42,4 @@ ifeq ($(CONFIG_LIB_AREACODE),y)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
rm -f $(shell echo $(DESTDIR)$(CONFIG_DATADIR))/areacodes
|
rm -f $(DESTDIR)$(CONFIG_DATADIR)/areacodes
|
||||||
|
|
Loading…
Reference in New Issue