1 #Copyright 2009-2011 Carl Gherardi
2 #This program is free software: you can redistribute it and/or modify
3 #it under the terms of the GNU Affero General Public License as published by
4 #the Free Software Foundation, version 3 of the License.
6 #This program is distributed in the hope that it will be useful,
7 #but WITHOUT ANY WARRANTY; without even the implied warranty of
8 #MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9 #GNU General Public License for more details.
11 #You should have received a copy of the GNU Affero General Public License
12 #along with this program. If not, see <http://www.gnu.org/licenses/>.
13 #In the "official" distribution you can find the license in agpl-3.0.txt.
15 # Variable definitions
17 DATE
= $(shell date
+%Y
%m
%d
)
21 @echo
" make snapshot - Tags the repository with $(VERSION)-$(DATE) and creates a tarball from that"
24 git tag
$(VERSION
)-$(DATE
)
25 git archive
--prefix=fpdb-
$(VERSION
)-$(DATE
)/ $(VERSION
)-$(DATE
) | gzip
-9 > ..
/fpdb-
$(VERSION
)-$(DATE
).
tar.gz
29 git archive
--prefix=fpdb-
$(VERSION
)/ $(VERSION
) | gzip
-9 > ..
/fpdb-
$(VERSION
).
tar.gz