2 # Copyright (C) 2002 Stanislav Sinyagin
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.
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.
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.
18 # $Id: Makefile.am,v 1.1 2010-12-27 00:03:37 ivan Exp $
19 # Stanislav Sinyagin <ssinyagin@yahoo.com>
24 $(mkinstalldirs) $(DESTDIR)$(perllibdir)
25 find * -type d ! -name CVS -print >list.tmp
26 for d in `cat list.tmp`; do \
27 $(mkinstalldirs) $(DESTDIR)$(perllibdir)/$$d; done
28 find * \( -name '*.pm' \) -type f -print >list.tmp
29 for f in `cat list.tmp`; do \
30 $(INSTALL_DATA) $$f $(DESTDIR)$(perllibdir)/$$f; done
35 find * -type d ! -name CVS -print >list.tmp
36 for d in `cat list.tmp`; do \
37 rm -r $(DESTDIR)$(perllibdir)/$$d; done
42 find * -type d ! -name CVS -print >list.tmp
43 for d in `cat list.tmp`; do \
44 mkdir $(distdir)/$$d; done
45 find * \( -name '*.pm' -o -name '*.txt' \) -type f -print >list.tmp
46 for f in `cat list.tmp`; do \
47 cp $$f $(distdir)/$$f; done