Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8dd8933

Browse files
committed
added PGSPHERE_VERSION and modified dist target to put version number into tar - file name and base dir
1 parent98dec9b commit8dd8933

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

‎Makefile‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
2+
PGSPHERE_VERSION = 1.1.5
3+
4+
# the base dir name may be changed depending on git clone command
5+
SRC_DIR =$(shell basename$(shell pwd))
6+
17
MODULE_big = pg_sphere
28
OBJS = sscan.o sparse.o sbuffer.o vector3d.o point.o\
39
euler.o circle.o line.o ellipse.o polygon.o\
@@ -58,4 +64,4 @@ endif
5864

5965
dist : clean sparse.c sscan.c
6066
find. -name'*~' -type f -exec rm {}\;
61-
cd ..&& tar --exclude CVS -czfpg_sphere.tar.gzpg_sphere&&cd -
67+
cd ..&& tar--transform s/$(SRC_DIR)/pgsphere-$(PGSPHERE_VERSION)/ --exclude CVS -czfpgsphere-$(PGSPHERE_VERSION).tar.gz$(SRC_DIR)&&cd -

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp