Quoting Chris Shoemaker <[EMAIL PROTECTED]>:

dist-hook: po/POTFILES.in

-distcheck-hook: po/POTFILES.in
+distcheck-hook:
+       @e=''; \
+       for X in `grep -v \# ${distdir}/po/POTFILES.in` ; do \
+               if [ ! -f ${distdir}/$$X ] ; then \
+                       echo $$X " is in POTFILES.in but not in the dist."; \
+                       e='yes'; \
+               fi; \
+       done; \
+       if test "$$e" = "yes" ; then exit 1; fi;

distclean-local:

Intresting approach.  Question:  do we want the reverse as well?
E.g., do we want to fail the check if a file exists in ${distdir}
but is listed in the POTFILES.skip?  That way if we have files now
and later add them to the dist, we dont lose strings down the road
because we forgot to remove the file from POTFILES.skip.

-derek

--
      Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
      Member, MIT Student Information Processing Board  (SIPB)
      URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
      [EMAIL PROTECTED]                        PGP key available

_______________________________________________
gnucash-devel mailing list
[email protected]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to