removed the x bit from non-script files in the dist + tweaks...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2022-11-14 02:05:16 +03:00
parent f09280f2a1
commit d77f3ea345
2 changed files with 6 additions and 4 deletions

View File

@ -42,7 +42,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: dist artifacts
path: dist/photobook*.zip
path: dist/photobook-*.zip
- name: Upload to CTAN (release)
uses: paolobrasolin/ctan-submit-action@v1

View File

@ -119,11 +119,12 @@ BUILD_DIR := build
#DIST_NAME := $(MODULE)-$(VERSION)
DIST_NAME := $(MODULE)-$(VERSION)-$(DATE)
DIST_DIR := dist
DIST_SCRIPTS = \
$(wildcard scripts/*)
DIST_FILES = \
README.md \
LICENSE \
Makefile \
$(wildcard scripts/*) \
$(MODULE).cls \
$(MODULE).pdf
# Add these when ready...
@ -268,9 +269,10 @@ manual:
.PHONY: dist
dist: $(DIST_FILES)
dist: $(DIST_FILES) $(DIST_SCRIPTS)
$(MD) $(DIST_DIR)
zip -Drq $(DIST_DIR)/$(DIST_NAME).zip $(DIST_FILES)
chmod 644 $(DIST_FILES)
zip -Drq $(DIST_DIR)/$(DIST_NAME).zip $(DIST_FILES) $(DIST_SCRIPTS)
# Place everything in the module dir as per CTAN spec...
zipnote $(DIST_DIR)/$(DIST_NAME).zip \
| sed 's/^\@ \([^(].*\)$$/@ \1\n@=$(MODULE)\/\1/' \