summaryrefslogtreecommitdiff
path: root/include/Makefile.in
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2001-10-01 13:36:54 +0000
committerAlasdair Kergon <agk@redhat.com>2001-10-01 13:36:54 +0000
commitfa42e6493d5c347a1319b0a9abcdf201bcd8b33a (patch)
tree7e8f8f0497099fc8d27454eabc30ebae83d3113b /include/Makefile.in
parentd41d4056ca6b2afe2196ad51c6cfa8215b158511 (diff)
downloadlvm2-fa42e6493d5c347a1319b0a9abcdf201bcd8b33a.tar.gz
Create symlinks to .h files in an include directory
Diffstat (limited to 'include/Makefile.in')
-rw-r--r--include/Makefile.in41
1 files changed, 41 insertions, 0 deletions
diff --git a/include/Makefile.in b/include/Makefile.in
new file mode 100644
index 000000000..926422faf
--- /dev/null
+++ b/include/Makefile.in
@@ -0,0 +1,41 @@
+#
+# Copyright (C) 2001 Sistina Software
+#
+# This LVM library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Library General Public
+# License as published by the Free Software Foundation; either
+# version 2 of the License, or (at your option) any later version.
+#
+# This LVM library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Library General Public License for more details.
+#
+# You should have received a copy of the GNU Library General Public
+# License along with this LVM library; if not, write to the Free
+# Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+# MA 02111-1307, USA
+
+SHELL = /bin/sh
+
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+VPATH = @srcdir@
+
+LN_S = @LN_S@
+
+all: .symlinks_created
+
+.symlinks_created: .symlinks
+ find . -maxdepth 1 -type l -exec $(RM) \{\} \;
+ for i in `cat .symlinks`; do $(LN_S) $$i ; done
+ touch $@
+
+clean:
+
+distclean:
+ find . -maxdepth 1 -type l -exec $(RM) \{\} \;
+ $(RM) Makefile .include_symlinks
+
+.PHONY: clean distclean all
+