diff options
| author | Matti Lehtimäki <matti.lehtimaki@gmail.com> | 2013-09-28 11:04:09 +0200 |
|---|---|---|
| committer | Matti Lehtimäki <matti.lehtimaki@gmail.com> | 2013-09-28 11:04:09 +0200 |
| commit | c6c31d0d6dca95e07294ccb1d5827f91fb6776d8 (patch) | |
| tree | 4ea7981d62b0806ef0508dbb2b66eded1d257d88 /Makefile | |
| parent | fac33cd988d6d0c3718ef6e2148d41a4b5141289 (diff) | |
| download | vdr-plugin-epgfixer-c6c31d0d6dca95e07294ccb1d5827f91fb6776d8.tar.gz vdr-plugin-epgfixer-c6c31d0d6dca95e07294ccb1d5827f91fb6776d8.tar.bz2 | |
Makefile fixes. Update HISTORY.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -19,6 +19,7 @@ GITTAG = $(shell git describe --always 2>/dev/null) # Use package data if installed...otherwise assume we're under the VDR source directory: PKGCFG = $(if $(VDRDIR),$(shell pkg-config --variable=$(1) $(VDRDIR)/vdr.pc),$(shell pkg-config --variable=$(1) vdr || pkg-config --variable=$(1) ../../../vdr.pc)) +CFGDIR = $(call PKGCFG,configdir) LIBDIR = $(call PKGCFG,libdir) LOCDIR = $(call PKGCFG,locdir) PLGCFG = $(call PKGCFG,plgcfg) @@ -70,7 +71,7 @@ OBJS = $(PLUGIN).o blacklist.o charset.o config.o epgclone.o epghandler.o regexp ifeq ($(REGEXLIB), pcre) LIBS += $(shell pcre-config --libs-posix) -INCLUDE += $(shell pcre-config --cflags) +INCLUDES += $(shell pcre-config --cflags) DEFINES += -DHAVE_PCREPOSIX endif @@ -126,7 +127,11 @@ $(SOFILE): $(OBJS) install-lib: $(SOFILE) install -D $^ $(DESTDIR)$(LIBDIR)/$^.$(APIVERSION) -install: install-lib install-i18n +install-conf: + @mkdir -p $(DESTDIR)$(CFGDIR)/plugins/$(PLUGIN) + @cp -pn $(PLUGIN)/* $(DESTDIR)$(CFGDIR)/plugins/$(PLUGIN)/ + +install: install-lib install-i18n install-conf dist: $(I18Npo) clean @-rm -rf $(TMPDIR)/$(ARCHIVE) |
