File: Makefile.am

package info (click to toggle)
blcr 0.8.5-2.3
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 10,740 kB
  • sloc: ansic: 31,999; sh: 12,633; makefile: 929; perl: 401; cpp: 79; java: 9
file content (11 lines) | stat: -rw-r--r-- 399 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
EXTRA_DIST = license.txt blcr.rc

module_dir=$(shell echo '@CR_MODULE_DIR@' | sed -e 's/@LINUX_VER@/`uname -r`/')

install-exec-local:
	$(mkinstalldirs) $(DESTDIR)$(sysconfdir)/init.d
	@PERL@ -pe 's|\@MODULE_DIR\@|$(module_dir)|' \
		< $(srcdir)/blcr.rc > $(DESTDIR)$(sysconfdir)/init.d/blcr
	chmod 755 $(DESTDIR)$(sysconfdir)/init.d/blcr
uninstall-local:
	rm -f $(DESTDIR)$(sysconfdir)/init.d/blcr