File: Makefile.am

package info (click to toggle)
dpkg 1.18.24
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 45,164 kB
  • ctags: 4,933
  • sloc: ansic: 32,683; perl: 22,420; sh: 9,949; cpp: 4,753; makefile: 1,478; sed: 104
file content (18 lines) | stat: -rw-r--r-- 545 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
## Process this file with automake to produce Makefile.in

dist_pkgdata_DATA = \
	architecture.mk \
	buildflags.mk \
	default.mk \
	pkg-info.mk \
	vendor.mk

do_path_subst = $(AM_V_GEN) sed \
	-e "s:dpkg_datadir[[:space:]]*=[[:space:]]*[^[:space:]]*:dpkg_datadir = $(pkgdatadir):"

install-data-hook:
	mv $(DESTDIR)$(pkgdatadir)/default.mk \
	   $(DESTDIR)$(pkgdatadir)/default.mk.tmp
	$(do_path_subst) <$(DESTDIR)$(pkgdatadir)/default.mk.tmp \
	                 >$(DESTDIR)$(pkgdatadir)/default.mk
	rm -f $(DESTDIR)$(pkgdatadir)/default.mk.tmp