summaryrefslogtreecommitdiff
path: root/utils/Makefile.in
blob: d248dc1af504c99548a327b750c741a897f7b505 (plain)
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
31
32
33
34
35
36
37
38
39
40
@SET_MAKE@

INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_DATA = @INSTALL_DATA@

RM   = @RM@
LN_S = @LN_S@

PACKAGEDIR = @PACKAGEDIR@
SYMLINKS = @SYMLINKS@
LINKPATH = @LINKPATH@

install-pkg: uninstall-pkg
	@if test "x$(SYMLINKS)" = "xno" ; then                       \
          mkdir -p -m 0755 $(PACKAGEDIR)/etc/bbdb/utils ;            \
          for i in `ls -d * | egrep -v '(Makefile|CVS)'` ; do        \
            $(INSTALL_DATA) $$i $(PACKAGEDIR)/etc/bbdb/utils/ ;      \
          done ;                                                     \
        else                                                         \
          if test "x$(LINKPATH)" = "x" ; then                        \
            $(LN_S) `pwd` $(PACKAGEDIR)/etc/bbdb/utils ;             \
          else                                                       \
            $(LN_S) $(LINKPATH)/utils $(PACKAGEDIR)/etc/bbdb/utils ; \
          fi ;                                                       \
        fi

uninstall-pkg:
	-$(RM) -r $(PACKAGEDIR)/etc/bbdb/utils

clean:

distclean:

# Backward compatibility:
reallyclean: distclean

cvsclean: distclean
	-$(RM) Makefile