File: pkg-config.mk

package info (click to toggle)
gpaste 3.22.0-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,704 kB
  • ctags: 1,827
  • sloc: ansic: 13,125; sh: 122; makefile: 91
file content (24 lines) | stat: -rw-r--r-- 620 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
## This file is part of GPaste.
##
## Copyright (c) 2010-2016, Marc-Antoine Perennou <Marc-Antoine@Perennou.com>

SUFFIXES += .pc.in .pc
.pc.in.pc:
	@ $(MKDIR_P) $(@D)
	$(AM_V_GEN) $(SED)                          \
	    -e 's,[@]libdir[@],$(libdir),g'         \
	    -e 's,[@]includedir[@],$(includedir),g' \
	    -e 's,[@]VERSION[@],$(VERSION),g'       \
	    < $< > $@

nodist_pkgconfig_DATA =              \
	%D%/pkg-config/gpaste-1.0.pc \
	$(NULL)

EXTRA_DIST +=                               \
	$(nodist_pkgconfig_DATA:.pc=.pc.in) \
	$(NULL)

CLEANFILES +=                    \
	$(nodist_pkgconfig_DATA) \
	$(NULL)