11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
-
+
-
-
-
+
+
+
|
include buildsys.mk
utils ${TESTS}: src
tarball:
echo "Generating tarball for version ${PACKAGE_VERSION}..."
rm -fr tmp.tar objfw-${PACKAGE_VERSION} objfw-${PACKAGE_VERSION}.tar \
rm -fr objfw-${PACKAGE_VERSION} objfw-${PACKAGE_VERSION}.tar \
objfw-${PACKAGE_VERSION}.tar.gz
git archive HEAD --prefix objfw-${PACKAGE_VERSION}/ -o tmp.tar
tar xf tmp.tar
rm -f tmp.tar objfw-${PACKAGE_VERSION}/.gitignore
mkdir objfw-${PACKAGE_VERSION}
git --work-tree=objfw-${PACKAGE_VERSION} checkout .
rm objfw-${PACKAGE_VERSION}/.gitignore
cp configure config.h.in objfw-${PACKAGE_VERSION}/
tar cf objfw-${PACKAGE_VERSION}.tar objfw-${PACKAGE_VERSION}
rm -fr objfw-${PACKAGE_VERSION}
gzip -9 objfw-${PACKAGE_VERSION}.tar
rm -f objfw-${PACKAGE_VERSION}.tar
|