Packaging: clean spec file
[platform/upstream/libgsasl.git] / cfg.mk
1 # Copyright (C) 2006-2012 Simon Josefsson
2 #
3 # This file is part of GNU SASL Library.
4 #
5 # GNU SASL Library is free software; you can redistribute it and/or
6 # modify it under the terms of the GNU Lesser General Public License
7 # as published by the Free Software Foundation; either version 2.1 of
8 # the License, or (at your option) any later version.
9 #
10 # GNU SASL Library is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13 # Lesser General Public License for more details.
14 #
15 # You should have received a copy of the GNU Lesser General Public
16 # License along with GNU SASL Library; if not, write to the Free
17 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
18 # MA 02110-1301, USA.
19
20 ifeq ($(PACKAGE),)
21 PACKAGE := libgsasl
22 endif
23
24 ifeq ($(.DEFAULT_GOAL),abort-due-to-no-makefile)
25 .DEFAULT_GOAL := noop
26 .PHONY: noop
27 endif
28
29 ChangeLog:
30         git2cl > ChangeLog
31         cat ../.clcopying >> ChangeLog
32
33 tarball:
34         rm -f ChangeLog
35         $(MAKE) ChangeLog distcheck