update changelog
[platform/upstream/acl.git] / doc / Makefile
1 #
2 # Copyright (c) 2000-2002 Silicon Graphics, Inc.  All Rights Reserved.
3 #
4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 2 of the License, or
7 # (at your option) any later version.
8 #
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
13 #
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 #
18
19 TOPDIR = ..
20 include $(TOPDIR)/include/builddefs
21
22 LSRCFILES = extensions.txt libacl.txt TODO PORTING CHANGES COPYING COPYING.LGPL INSTALL \
23             old-acl.5
24 LDIRT = *.gz
25
26 default: CHANGES.gz
27
28 include $(BUILDRULES)
29
30 CHANGES.gz:
31         $(ZIP) --best -c < CHANGES > $@
32
33 install: default
34         $(INSTALL) -m 755 -d $(PKG_DOC_DIR)
35         $(INSTALL) -m 644 PORTING CHANGES.gz $(PKG_DOC_DIR)
36 ifeq ($(PKG_DISTRIBUTION), debian)
37         $(INSTALL) -S CHANGES.gz $(PKG_DOC_DIR)/changelog.gz
38 else
39         $(INSTALL) -m 644 COPYING COPYING.LGPL $(PKG_DOC_DIR)
40 endif
41
42 install-dev install-lib: