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.
master
Peter Marschall 11 years ago
parent 6a29b5c629
commit a5bbf79daa
  1. 8
      areacode/Makefile.in

@ -4,9 +4,9 @@
# the original Makefile, it is called GNUmakefile.
#
ifeq (../.config,$(wildcard ../.config))
include ../.config
DATAOPTS := DATATARGET=$(shell echo $(DESTDIR)$(CONFIG_DATADIR))/areacodes
ifeq (../scripts/autoconf.mk,$(wildcard ../scripts/autoconf.mk))
include ../scripts/autoconf.mk
DATAOPTS := DATATARGET=$(DESTDIR)$(CONFIG_DATADIR)/areacodes
#
# Install as root with numeric Id's, since these are the
# only ones that _really_ exist on _every_ system.
@ -42,4 +42,4 @@ ifeq ($(CONFIG_LIB_AREACODE),y)
endif
uninstall:
rm -f $(shell echo $(DESTDIR)$(CONFIG_DATADIR))/areacodes
rm -f $(DESTDIR)$(CONFIG_DATADIR)/areacodes

Loading…
Cancel
Save