Meyering.
+1998-12-16 Tom Tromey <tromey@cygnus.com>
+
+ * tags.am (ID): Uniquify list of sources. Report from Jim
+ Meyering.
+
1998-12-11 Tom Tromey <tromey@cygnus.com>
Bug report from Paul D. Smith:
+* `distcheck' and `dist' should depend on `all'
+
* Document why putting @FOO@ in _SOURCES doesn't work.
* Add code to generate foo-config script like gnome, gtk
tags: TAGS
ID: $(HEADERS) $(SOURCES) $(LISP)
+## Make sure the list of sources is unique.
+ list='$(SOURCES) $(HEADERS)'; \
+ unique=`for i in $$list; do echo $$i; done | \
+ awk ' { files[$$0] = 1; } \
+ END { for (i in files) print i; }'`; \
here=`pwd` && cd $(srcdir) \
- && mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
+ && mkid -f$$here/ID $$unique $(LISP)
TAGS: @DIRS@ $(HEADERS) $(SOURCES) @CONFIG@ $(TAGS_DEPENDENCIES) $(LISP)
tags=; \
tags: TAGS
ID: $(HEADERS) $(SOURCES) $(LISP)
+## Make sure the list of sources is unique.
+ list='$(SOURCES) $(HEADERS)'; \
+ unique=`for i in $$list; do echo $$i; done | \
+ awk ' { files[$$0] = 1; } \
+ END { for (i in files) print i; }'`; \
here=`pwd` && cd $(srcdir) \
- && mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
+ && mkid -f$$here/ID $$unique $(LISP)
TAGS: @DIRS@ $(HEADERS) $(SOURCES) @CONFIG@ $(TAGS_DEPENDENCIES) $(LISP)
tags=; \