File: Makefile.am

package info (click to toggle)
e2guardian 5.5.9-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,352 kB
  • sloc: cpp: 26,398; makefile: 640; sh: 324; perl: 55
file content (26 lines) | stat: -rwxr-xr-x 637 bytes parent folder | download | duplicates (2)
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
DISTCLEANFILES = Makefile.in

SUBDIRS= .

DATATOPDIR = $(datadir)/$(PACKAGE_NAME)/scripts

FLISTS = e2guardian logrotation bsd-init\
             solaris-init systemv-init\
	     e2guardian.service 

EXTRA_DIST = e2guardian.in logrotation.in bsd-init.in\
             solaris-init.in systemv-init.in\
	     e2guardian.service.in 

install-data-local: 
	$(mkinstalldirs) $(DESTDIR)$(DATATOPDIR) && \
	for l in $(FLISTS) ; do \
		echo "$(INSTALL_DATA) $$l $(DESTDIR)$(DATATOPDIR)/$$l"; \
		$(INSTALL_DATA) $$l $(DESTDIR)$(DATATOPDIR)/$$l; \
	done

uninstall-local:
	for l in $(FLISTS) ; do \
		rm -f $(DESTDIR)$(DATATOPDIR)/$$l ; \
	done