| 1 | ### -*-makefile-*- |
| 2 | ### |
| 3 | ### Makefile for TrIPE key management tool |
| 4 | ### |
| 5 | ### (c) 2001 Straylight/Edgeware |
| 6 | ### |
| 7 | |
| 8 | ###----- Licensing notice --------------------------------------------------- |
| 9 | ### |
| 10 | ### This file is part of Trivial IP Encryption (TrIPE). |
| 11 | ### |
| 12 | ### TrIPE 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 | ### TrIPE 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 TrIPE; if not, write to the Free Software Foundation, |
| 24 | ### Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| 25 | |
| 26 | include $(top_srcdir)/vars.am |
| 27 | |
| 28 | sbin_SCRIPTS = |
| 29 | man_MANS = |
| 30 | |
| 31 | ###-------------------------------------------------------------------------- |
| 32 | ### Key-management. |
| 33 | |
| 34 | ## Key-management script. |
| 35 | sbin_SCRIPTS += tripe-keys |
| 36 | EXTRA_DIST += tripe-keys.in |
| 37 | CLEANFILES += tripe-keys |
| 38 | |
| 39 | tripe-keys: tripe-keys.in Makefile |
| 40 | $(SUBST) $(srcdir)/tripe-keys.in >$@.new $(SUBSTITUTIONS) && \ |
| 41 | chmod +x $@.new && mv $@.new $@ |
| 42 | |
| 43 | ## Manual pages. |
| 44 | man_MANS += tripe-keys.8tripe tripe-keys.conf.5tripe |
| 45 | CLEANFILES += tripe-keys.8tripe tripe-keys.conf.5tripe |
| 46 | EXTRA_DIST += tripe-keys.8.in tripe-keys.conf.5.in |
| 47 | |
| 48 | ## Examples. |
| 49 | EXTRA_DIST += tripe-keys.master |
| 50 | |
| 51 | ###----- That's all, folks -------------------------------------------------- |