chiark / gitweb /
infra: Clean up project setup
[pixie] / Makefile.am
1 ## -*-makefile-*-
2 ##
3 ## $Id: Makefile.am,v 1.1 1999/10/23 10:58:49 mdw Exp $
4 ##
5 ## Makefile for PGP pixie
6 ##
7 ## (c) 1999 Mark Wooding
8 ##
9
10 ##----- Licensing notice ----------------------------------------------------
11 ##
12 ## PGP pixie is free software; you can redistribute it and/or modify
13 ## it under the terms of the GNU General Public License as published by
14 ## the Free Software Foundation; either version 2 of the License, or
15 ## (at your option) any later version.
16 ## 
17 ## PGP pixie is distributed in the hope that it will be useful,
18 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
19 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20 ## GNU General Public License for more details.
21 ## 
22 ## You should have received a copy of the GNU General Public License
23 ## along with PGP pixie; if not, write to the Free Software Foundation,
24 ## Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25
26 ##----- Revision history ----------------------------------------------------
27 ##
28 ## $Log: Makefile.am,v $
29 ## Revision 1.1  1999/10/23 10:58:49  mdw
30 ## Initial revision
31 ##
32
33 AUTOMAKE_OPTIONS = foreign
34
35 bin_PROGRAMS = pixie
36 bin_SCRIPTS = pgp-pixie
37 man_MANS = pixie.1
38 pixie_SOURCES = pixie.c mdwopt.c mdwopt.h
39
40 EXTRA_DIST = pixie.1
41
42 install-exec-hook:
43         pixie="$(bindir)/`echo pixie|sed $(transform)`"; \
44         chown root $$pixie && chmod 4755 $$pixie || {\
45           echo ">>>"; echo ">>> You might want to make $$pixie"; \
46           echo ">>> setuid-root";\
47           echo ">>>"; }
48
49 ##----- That's all, folks ---------------------------------------------------