29 |
config-h.in configure stamp-h.in \ |
config-h.in configure stamp-h.in \ |
30 |
po/cat-id-tbl.c po/m4.pot po/stamp-cat-id |
po/cat-id-tbl.c po/m4.pot po/stamp-cat-id |
31 |
|
|
32 |
|
# Make sure config.status is regenerated when the version timestamp changes |
33 |
|
MKSTAMP = $(SHELL) $(top_srcdir)/config/mkstamp |
34 |
|
CONFIG_STATUS_DEPENDENCIES = stamp-vcl |
35 |
|
stamp-vcl: vcl.tmp $(top_srcdir)/ChangeLog |
36 |
|
vcl.tmp: |
37 |
|
@dir=.; test -f $$dir/stamp-vcl || dir=$(srcdir); \ |
38 |
|
set `$(MKSTAMP) < $(top_srcdir)/ChangeLog`; \ |
39 |
|
echo "$$1" > vcl.tmp; \ |
40 |
|
cmp -s vcl.tmp $$dir/stamp-vcl \ |
41 |
|
## If mkstamp does not match $(srcdir)/stamp-vcl, we still put the new one |
42 |
|
## in the current dir, incase $(srcdir) is not writable. The dir selection |
43 |
|
## at the top of this rule takes care of prefering the right one on |
44 |
|
## subsequent runs. |
45 |
|
|| (echo "Updating stamp-vcl"; cp vcl.tmp ./stamp-vcl) |
46 |
|
-@rm -f vcl.tmp |
47 |
|
|
48 |
## ## |
## ## |
49 |
## --- RULES FOR THE MAINTAINER --- ## |
## --- RULES FOR THE MAINTAINER --- ## |