summaryrefslogtreecommitdiffstats
path: root/dselect/methods/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'dselect/methods/Makefile.am')
-rw-r--r--dselect/methods/Makefile.am59
1 files changed, 59 insertions, 0 deletions
diff --git a/dselect/methods/Makefile.am b/dselect/methods/Makefile.am
new file mode 100644
index 0000000..74c8be2
--- /dev/null
+++ b/dselect/methods/Makefile.am
@@ -0,0 +1,59 @@
+## Process this file with automake to produce Makefile.in
+
+methodsdir = $(pkglibexecdir)/methods
+
+nobase_dist_methods_DATA = \
+ disk/names \
+ disk/desc.cdrom \
+ disk/desc.nfs \
+ disk/desc.harddisk \
+ disk/desc.mounted \
+ ftp/names \
+ ftp/desc.ftp \
+ multicd/names \
+ multicd/desc.multi_cd \
+ multicd/desc.multi_mount \
+ multicd/desc.multi_nfs
+
+nobase_methods_SCRIPTS = \
+ ftp/setup \
+ ftp/update \
+ ftp/install \
+ $(nil)
+
+nobase_dist_methods_SCRIPTS = \
+ disk/setup \
+ disk/update \
+ disk/install \
+ multicd/setup \
+ multicd/update \
+ multicd/install
+
+perllibdir = $(PERL_LIBDIR)
+nobase_dist_perllib_DATA = Dselect/Ftp.pm
+
+EXTRA_DIST = \
+ ftp/setup.pl \
+ ftp/update.pl \
+ ftp/install.pl \
+ multicd/README.multicd
+
+CLEANFILES = \
+ $(nobase_methods_SCRIPTS) \
+ $(nil)
+
+do_perl_subst = $(AM_V_GEN) sed \
+ -e "s:^\#![[:space:]]*/usr/bin/perl:\#!$(PERL):"
+
+SUFFIXES = .pl
+
+.pl: Makefile
+ @test -d `dirname $@` || $(MKDIR_P) `dirname $@`
+ $(do_perl_subst) <$< >$@
+ $(AM_V_at) chmod +x $@
+
+install-data-local:
+ $(MKDIR_P) $(DESTDIR)$(admindir)/methods/mnt
+ $(MKDIR_P) $(DESTDIR)$(admindir)/methods/disk
+ $(MKDIR_P) $(DESTDIR)$(admindir)/methods/ftp
+ $(MKDIR_P) $(DESTDIR)$(admindir)/methods/multicd