File: Makefile.am

package info (click to toggle)
sword 1.5.7-7sarge1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 9,488 kB
  • ctags: 7,458
  • sloc: cpp: 54,173; ansic: 11,937; sh: 8,640; perl: 2,471; pascal: 1,835; tcl: 1,608; makefile: 1,060; java: 756; python: 726; php: 6
file content (30 lines) | stat: -rw-r--r-- 767 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
25
26
27
28
29
30
EXTRA_DIST += samples/mods.d/globals.conf

if INSTCONF
modsDATA = samples/mods.d/globals.conf

modsdatadir = $(pkgdatadir)/mods.d

installmodsDATA: $(modsDATA)
	@$(NORMAL_INSTALL)
	$(mkinstalldirs) $(DESTDIR)$(modsdatadir)
	@list='$(modsDATA)'; for p in $$list; do \
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
	  f="`echo $$p | sed -e 's|^.*/||'`"; \
	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(modsdatadir)/$$f"; \
	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(modsdatadir)/$$f; \
	done

uninstallmodsDATA:
	@$(NORMAL_UNINSTALL)
	@list='$(modsDATA)'; for p in $$list; do \
	  f="`echo $$p | sed -e 's|^.*/||'`"; \
	  echo " rm -f $(DESTDIR)$(modsdatadir)/$$f"; \
	  rm -f $(DESTDIR)$(modsdatadir)/$$f; \
	done
else
installmodsDATA:

uninstallmodsDATA:

endif