Skip to content

Commit

Permalink
Makefile: exclude timezone definition file from beautify-xml target
Browse files Browse the repository at this point in the history
  • Loading branch information
Trim committed Dec 25, 2017
1 parent 70ecaa6 commit 7eb6e40
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ dev: beautify build
beautify: beautify-xml beautify-js

beautify-xml:
find \( -name "*.xml" -o -name "*.xul" \) -exec \
find \( -name "*.xml" -o -name "*.xul" \) \
-a \( \! -wholename "./interfaces/exchangeTimeZones/ewsTimesZoneDefinitions_2007.xml" \) \
-exec \
tidy --input-xml yes --indent auto --indent-spaces 4 --indent-attributes yes \
--preserve-entities yes --quote-ampersand no --quote-nbsp no --output-xml yes \
--strict-tags-attributes no --write-back yes \
Expand Down

0 comments on commit 7eb6e40

Please sign in to comment.