File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ RD = rm -rf
11
11
ZIP = zip -rT
12
12
MAKE = make
13
13
SELF = utils/dist
14
+ PERM = find . -type d -exec chmod 755 '{}' +; \
15
+ find . -type f -exec chmod 644 '{}' +
14
16
15
17
dist :
16
18
$(SELF ) distclean
@@ -42,6 +44,7 @@ dir-tds: tex-dist doc-dist
42
44
$(MD ) $@ /tex/latex/ $@ /doc/latex/
43
45
$(CP ) tex-dist/ $@ /tex/latex/$(TITLE )
44
46
$(CP ) doc-dist/ $@ /doc/latex/$(TITLE )
47
+ cd $@ && $(PERM )
45
48
46
49
dist-tds : $(TITLE ) -$(VERSION ) .tds.zip
47
50
$(TITLE ) -$(VERSION ) .tds.zip : dir-tds
@@ -53,6 +56,7 @@ dir-ctan: README tex-dist doc-dist $(TITLE)-$(VERSION).tds.zip
53
56
$(CP ) tex-dist/ $@ /$(TITLE ) /tex
54
57
$(CP ) doc-dist/ $@ /$(TITLE ) /doc
55
58
$(MV ) $(TITLE ) -$(VERSION ) .tds.zip $@ /
59
+ cd $@ && $(PERM )
56
60
57
61
dist-ctan : $(TITLE ) -$(VERSION ) .zip
58
62
$(TITLE ) -$(VERSION ) .zip : dir-ctan
You can’t perform that action at this time.
0 commit comments