File: Makefile.am

package info (click to toggle)
dpkg 1.17.13
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 39,604 kB
  • ctags: 4,699
  • sloc: ansic: 30,023; perl: 18,658; sh: 14,612; cpp: 4,676; makefile: 1,167; lex: 227; sed: 16
file content (17 lines) | stat: -rw-r--r-- 540 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
## 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:
	cp -p $(DESTDIR)$(pkgdatadir)/default.mk $(DESTDIR)$(pkgdatadir)/default.mk.tmp
	$(do_path_subst) <$(DESTDIR)$(pkgdatadir)/default.mk.tmp \
			 >$(DESTDIR)$(pkgdatadir)/default.mk
	rm $(DESTDIR)$(pkgdatadir)/default.mk.tmp