File: Makefile

package info (click to toggle)
norwegian 2.0.10-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 26,296 kB
  • ctags: 178
  • sloc: perl: 2,665; makefile: 1,724; sh: 206
file content (25 lines) | stat: -rw-r--r-- 572 bytes parent folder | download | duplicates (7)
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
EXTRA_DIST   = \
	Makefile \
	check_words.sh \
	expndflg.pl \
	freq-filter \
	freq-update \
	sortflags \
	speling-extract-synonyms

DISTFILES    = $(EXTRA_DIST)
srcdir      := .
top_distdir := ../$(PACKAGE)-$(VERSION)
distdir     := $(top_distdir)/scripts/

distdir: $(DISTFILES)
	@for file in $(DISTFILES); do \
	  d=$(srcdir); \
	  if test -d $$d/$$file; then \
	    cp -pr $$d/$$file $(distdir)/$$file; \
	  else \
	    test -f $(distdir)/$$file \
	    || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
	    || cp -p $$d/$$file $(distdir)/$$file || :; \
	  fi; \
	done