1
######################### -*- Mode: Makefile-Gmake -*- ########################
3
## Author : Manoj Srivastava ( srivasta@glaurung.internal.golden-gryphon.com )
4
## Created On : Fri Jun 16 14:40:20 2006
5
## Created On Node : glaurung.internal.golden-gryphon.com
6
## Last Modified By : Manoj Srivastava
7
## Last Modified On : Wed Sep 6 11:43:05 2006
8
## Last Machine Used: glaurung.internal.golden-gryphon.com
10
## Status : Unknown, Use with caution!
14
## arch-tag: a38b6a93-2539-4034-9060-ae94d5c8a071
16
## This program is free software; you can redistribute it and/or modify
17
## it under the terms of the GNU General Public License as published by
18
## the Free Software Foundation; either version 2 of the License, or
19
## (at your option) any later version.
21
## This program is distributed in the hope that it will be useful,
22
## but WITHOUT ANY WARRANTY; without even the implied warranty of
23
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24
## GNU General Public License for more details.
26
## You should have received a copy of the GNU General Public License
27
## along with this program; if not, write to the Free Software
28
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
30
###############################################################################
33
install_file = install -p -o root -g root -m 644
34
install_script = install -p -o root -g root -m 755
35
install_program= install -p -o root -g root -m 755
36
make_directory = install -p -d -o root -g root -m 755
39
create_md5sums_fn () { \
42
! -regex './DEBIAN/.*' \
43
! -regex './etc/.*' $(EXTRA_MD5SUM_EXCLUDE) \
44
-printf '%P\0' | xargs -r0 md5sum > DEBIAN/md5sums ; \
45
if [ -z "DEBIAN/md5sums" ] ; then \
46
rm -f "DEBIAN/md5sums" ; \