Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tag: v2
Fetching contributors…

Cannot retrieve contributors at this time

93 lines (74 sloc) 2.083 kB
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
AM_MAKEFLAGS = --no-print-directory
CLEANFILES = \
$(dist_man_MANS)
bashcompletiondir=$(datarootdir)/bash-completion/completions
zshcompletiondir=$(datarootdir)/zsh/site-functions
shelldatadir = $(datarootdir)/doc/pkgfile
shelldata_DATA = \
extra/command-not-found.bash \
extra/command-not-found.zsh
EXTRA_DIST = \
README.pod \
extra/bash-completion \
extra/zsh-completion \
extra/command-not-found.bash \
extra/command-not-found.zsh
dist_man_MANS = \
pkgfile.1
bin_PROGRAMS = \
pkgfile
if USE_GIT_VERSION
GIT_VERSION := $(shell git describe --abbrev=4 --dirty | sed 's/^v//')
REAL_PACKAGE_VERSION = $(GIT_VERSION)
DEFS += -DGIT_VERSION=\"$(GIT_VERSION)\"
else
REAL_PACKAGE_VERSION = $(PACKAGE_VERSION)
endif
AM_CFLAGS = \
-pthread \
$(WARNINGFLAGS)
AM_LDFLAGS = \
-pthread \
$(GCLDFLAGS)
AM_CPPFLAGS = \
-imacros $(top_builddir)/config.h \
-I${top_srcdir}/src \
-DLOCALSTATEDIR="\"$(localstatedir)"\"
pkgfile_SOURCES = \
src/match.c src/match.h \
src/pkgfile.c src/pkgfile.h \
src/repo.c src/repo.h \
src/result.c src/result.h \
src/update.c src/update.h \
src/macro.h
pkgfile_CFLAGS = \
$(AM_CFLAGS) \
$(ARCHIVE_CFLAGS) \
$(CURL_CFLAGS) \
$(PCRE_CFLAGS)
pkgfile_LDFLAGS = \
$(AM_LDFLAGS)
pkgfile_LDADD = \
$(ARCHIVE_LIBS) \
$(CURL_LIBS) \
$(PCRE_LIBS)
pkgfile.1: README.pod
$(AM_V_GEN)$(POD2MAN) \
--section=1 \
--center="pkgfile Manual" \
--name="PKGFILE" \
--release="pkgfile $(REAL_PACKAGE_VERSION)" $< > $@
install-data-local:
$(MKDIR_P) $(DESTDIR)$(bashcompletiondir)
$(INSTALL_DATA) $(top_srcdir)/extra/bash-completion $(DESTDIR)$(bashcompletiondir)/pkgfile
$(MKDIR_P) $(DESTDIR)$(zshcompletiondir)
$(INSTALL_DATA) $(top_srcdir)/extra/zsh-completion $(DESTDIR)$(zshcompletiondir)/_pkgfile
@echo "DESTDIR=${DESTDIR}"
$(MKDIR_P) $(DESTDIR)$(CACHEPATH)
chmod 775 $(DESTDIR)$(CACHEPATH)
uninstall-local:
$(RM) $(DESTDIR)$(bashcompletiondir)/pkgfile
$(RM) $(DESTDIR)$(zshcompletiondir)/_pkgfile
DISTCHECK_CONFIGURE_FLAGS = \
--with-cachedir=$$dc_install_base$(CACHEPATH)
Jump to Line
Something went wrong with that request. Please try again.