~ubuntu-branches/debian/squeeze/sword/squeeze

« back to all changes in this revision

Viewing changes to samples/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Glassey
  • Date: 2004-01-15 15:50:07 UTC
  • Revision ID: james.westby@ubuntu.com-20040115155007-n9mz4x0zxrs1isd3
Tags: upstream-1.5.7
ImportĀ upstreamĀ versionĀ 1.5.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
EXTRA_DIST += samples/mods.d/globals.conf
 
2
 
 
3
if INSTCONF
 
4
modsDATA = samples/mods.d/globals.conf
 
5
 
 
6
modsdatadir = $(pkgdatadir)/mods.d
 
7
 
 
8
installmodsDATA: $(modsDATA)
 
9
        @$(NORMAL_INSTALL)
 
10
        $(mkinstalldirs) $(DESTDIR)$(modsdatadir)
 
11
        @list='$(modsDATA)'; for p in $$list; do \
 
12
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
 
13
          f="`echo $$p | sed -e 's|^.*/||'`"; \
 
14
          echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(modsdatadir)/$$f"; \
 
15
          $(INSTALL_DATA) $$d$$p $(DESTDIR)$(modsdatadir)/$$f; \
 
16
        done
 
17
 
 
18
uninstallmodsDATA:
 
19
        @$(NORMAL_UNINSTALL)
 
20
        @list='$(modsDATA)'; for p in $$list; do \
 
21
          f="`echo $$p | sed -e 's|^.*/||'`"; \
 
22
          echo " rm -f $(DESTDIR)$(modsdatadir)/$$f"; \
 
23
          rm -f $(DESTDIR)$(modsdatadir)/$$f; \
 
24
        done
 
25
else
 
26
installmodsDATA:
 
27
 
 
28
uninstallmodsDATA:
 
29
 
 
30
endif