Skip to content

Commit cdcb69a

Browse files
committed
Source packages go in the dist directory
1 parent 3555c6b commit cdcb69a

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33
*.so
44
regress/regression.diffs
55
regress/regression.out
6+
dist/*.zip

Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,10 @@ check installcheck:
4545
exit $$CHECKERR
4646

4747
# Prepare the package for PGXN submission
48-
package: $(EXTENSION)-$(EXTVERSION).zip
48+
package: dist dist/$(EXTENSION)-$(EXTVERSION).zip
4949

50-
$(EXTENSION)-$(EXTVERSION).zip:
50+
dist:
51+
mkdir -p dist
52+
53+
dist/$(EXTENSION)-$(EXTVERSION).zip:
5154
git archive --format zip --prefix=$(EXTENSION)-$(EXTVERSION)/ --output $@ master

0 commit comments

Comments
 (0)