File: Makefile.am

package info (click to toggle)
mergeant 0.67-3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 4,736 kB
  • ctags: 869
  • sloc: ansic: 9,388; sh: 8,954; makefile: 222; xml: 74
file content (27 lines) | stat: -rw-r--r-- 690 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

SUBDIRS = C

if HAVE_SCROLLKEEPER

omf_dest_dir=$(datadir)/omf/mergeant
scrollkeeper_localstate_dir = $(SCROLLKEEPER_LOCALSTATE_DIR)

install-data-local:
	$(mkinstalldirs) $(DESTDIR)$(omf_dest_dir)
	-for file in $(srcdir)/*.omf; do                        \
		$(INSTALL_DATA) $$file $(DESTDIR)$(omf_dest_dir); \
	done
	-scrollkeeper-update -p $(scrollkeeper_localstate_dir)

uninstall-local:
	-for file in $(srcdir)/*.omf; do                        \
		basefile=`basename $$file`;                     \
		rm -f $(omf_dest_dir)/$$basefile;               \
	done
	-rmdir $(omf_dest_dir)
	-scrollkeeper-update -p $(scrollkeeper_localstate_dir)

endif

EXTRA_DIST = \
        mergeant-C.omf.in