Skip to content

Commit

Permalink
Adjusted repository layout to match release tarballs.
Browse files Browse the repository at this point in the history
  • Loading branch information
VBart committed Oct 24, 2022
1 parent 1cd19f4 commit e28ef0f
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 24 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
28 changes: 13 additions & 15 deletions docs/GNUmakefile
Original file line number Diff line number Diff line change
@@ -1,35 +1,33 @@

VER= $(shell grep 'define ANGIE_VERSION' src/core/angie.h \
| sed -e 's/^.*"\(.*\)".*/\1/')
ANGIE= angie-$(VER)
TEMP= tmp
XSLS?= xslscript.pl


all: changes

changes: $(TEMP)/$(ANGIE)/CHANGES.ru \
$(TEMP)/$(ANGIE)/CHANGES
changes: CHANGES.ru \
CHANGES

hg ci -m "Generated changes for $(VER) release."

$(TEMP)/$(ANGIE)/CHANGES.ru: docs/dtd/changes.dtd \
docs/xml/angie/changes.xml \
docs/xml/change_log_conf.xml \
docs/xslt/changes.xslt
.PHONY: all changes

mkdir -p $(TEMP)/$(ANGIE)

CHANGES.ru: docs/dtd/changes.dtd \
docs/xml/angie/changes.xml \
docs/xml/change_log_conf.xml \
docs/xslt/changes.xslt

xmllint --noout --valid docs/xml/angie/changes.xml
xsltproc --stringparam lang ru \
-o $@ docs/xslt/changes.xslt docs/xml/angie/changes.xml


$(TEMP)/$(ANGIE)/CHANGES: docs/dtd/changes.dtd \
docs/xml/angie/changes.xml \
docs/xml/change_log_conf.xml \
docs/xslt/changes.xslt

mkdir -p $(TEMP)/$(ANGIE)
CHANGES: docs/dtd/changes.dtd \
docs/xml/angie/changes.xml \
docs/xml/change_log_conf.xml \
docs/xslt/changes.xslt

xmllint --noout --valid docs/xml/angie/changes.xml
xsltproc --stringparam lang en \
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
9 changes: 0 additions & 9 deletions misc/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,6 @@ PCRE = pcre2-10.39

release: export

mv $(TEMP)/$(ANGIE)/auto/configure $(TEMP)/$(ANGIE)

mv $(TEMP)/$(ANGIE)/docs/text/LICENSE $(TEMP)/$(ANGIE)
mv $(TEMP)/$(ANGIE)/docs/text/README $(TEMP)/$(ANGIE)
mv $(TEMP)/$(ANGIE)/docs/html $(TEMP)/$(ANGIE)
mv $(TEMP)/$(ANGIE)/docs/man $(TEMP)/$(ANGIE)

$(MAKE) -f docs/GNUmakefile changes

rm -r $(TEMP)/$(ANGIE)/docs
rm -r $(TEMP)/$(ANGIE)/misc

Expand Down

0 comments on commit e28ef0f

Please sign in to comment.