[Libguestfs] [PATCH 1/3] Replace @...@ with $(...) in these common Makefile.am
Richard W.M. Jones
rjones at redhat.com
Wed Sep 23 11:13:41 UTC 2009
Identical changes are made to the five directories:
cat/
df/
edit/
inspector/
rescue/
--
Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 75 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora
-------------- next part --------------
>From 154370c0e8a7bfcb6af5236bd7232794c188eabb Mon Sep 17 00:00:00 2001
From: Richard Jones <rjones at trick.home.annexia.org>
Date: Wed, 23 Sep 2009 12:04:25 +0100
Subject: [PATCH 1/3] Replace @...@ with $(...) in these common Makefile.am files.
---
cat/Makefile.am | 8 ++++----
df/Makefile.am | 8 ++++----
edit/Makefile.am | 8 ++++----
inspector/Makefile.am | 8 ++++----
rescue/Makefile.am | 8 ++++----
5 files changed, 20 insertions(+), 20 deletions(-)
diff --git a/cat/Makefile.am b/cat/Makefile.am
index 89a33a4..98df337 100644
--- a/cat/Makefile.am
+++ b/cat/Makefile.am
@@ -23,7 +23,7 @@ if HAVE_CAT
man_MANS = virt-cat.1
-noinst_DATA = @top_builddir@/html/virt-cat.1.html
+noinst_DATA = $(top_builddir)/html/virt-cat.1.html
virt-cat.1: virt-cat.pl
$(POD2MAN) \
@@ -32,9 +32,9 @@ virt-cat.1: virt-cat.pl
--release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
$< > $@
- at top_builddir@/html/virt-cat.1.html: virt-cat.pl
- mkdir -p @top_builddir@/html
- cd @top_builddir@ && pod2html \
+$(top_builddir)/html/virt-cat.1.html: virt-cat.pl
+ mkdir -p $(top_builddir)/html
+ cd $(top_builddir) && pod2html \
--css 'pod.css' \
--title 'virt-cat, display a file in a virtual machine' \
--htmldir html \
diff --git a/df/Makefile.am b/df/Makefile.am
index 4ff2fb1..7234eb7 100644
--- a/df/Makefile.am
+++ b/df/Makefile.am
@@ -23,7 +23,7 @@ if HAVE_DF
man_MANS = virt-df.1
-noinst_DATA = @top_builddir@/html/virt-df.1.html
+noinst_DATA = $(top_builddir)/html/virt-df.1.html
virt-df.1: virt-df.pl
$(POD2MAN) \
@@ -32,9 +32,9 @@ virt-df.1: virt-df.pl
--release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
$< > $@
- at top_builddir@/html/virt-df.1.html: virt-df.pl
- mkdir -p @top_builddir@/html
- cd @top_builddir@ && pod2html \
+$(top_builddir)/html/virt-df.1.html: virt-df.pl
+ mkdir -p $(top_builddir)/html
+ cd $(top_builddir) && pod2html \
--css 'pod.css' \
--title 'virt-df, display free space on virtual filesystems' \
--htmldir html \
diff --git a/edit/Makefile.am b/edit/Makefile.am
index 4fd25f0..4a2a52c 100644
--- a/edit/Makefile.am
+++ b/edit/Makefile.am
@@ -23,7 +23,7 @@ if HAVE_EDIT
man_MANS = virt-edit.1
-noinst_DATA = @top_builddir@/html/virt-edit.1.html
+noinst_DATA = $(top_builddir)/html/virt-edit.1.html
virt-edit.1: virt-edit.pl
$(POD2MAN) \
@@ -32,9 +32,9 @@ virt-edit.1: virt-edit.pl
--release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
$< > $@
- at top_builddir@/html/virt-edit.1.html: virt-edit.pl
- mkdir -p @top_builddir@/html
- cd @top_builddir@ && pod2html \
+$(top_builddir)/html/virt-edit.1.html: virt-edit.pl
+ mkdir -p $(top_builddir)/html
+ cd $(top_builddir) && pod2html \
--css 'pod.css' \
--title 'virt-edit, edit a file in a virtual machine' \
--htmldir html \
diff --git a/inspector/Makefile.am b/inspector/Makefile.am
index a1df2ab..a93a1ff 100644
--- a/inspector/Makefile.am
+++ b/inspector/Makefile.am
@@ -23,7 +23,7 @@ if HAVE_INSPECTOR
man_MANS = virt-inspector.1
-noinst_DATA = @top_builddir@/html/virt-inspector.1.html
+noinst_DATA = $(top_builddir)/html/virt-inspector.1.html
virt-inspector.1: virt-inspector.pl
$(POD2MAN) \
@@ -32,9 +32,9 @@ virt-inspector.1: virt-inspector.pl
--release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
$< > $@
- at top_builddir@/html/virt-inspector.1.html: virt-inspector.pl
- mkdir -p @top_builddir@/html
- cd @top_builddir@ && pod2html \
+$(top_builddir)/html/virt-inspector.1.html: virt-inspector.pl
+ mkdir -p $(top_builddir)/html
+ cd $(top_builddir) && pod2html \
--css 'pod.css' \
--title 'virt-inspector, display OS version, kernel, drivers, mount points, applications, etc. in a virtual machine' \
--htmldir html \
diff --git a/rescue/Makefile.am b/rescue/Makefile.am
index a9a533c..3d55728 100644
--- a/rescue/Makefile.am
+++ b/rescue/Makefile.am
@@ -23,7 +23,7 @@ if HAVE_RESCUE
man_MANS = virt-rescue.1
-noinst_DATA = @top_builddir@/html/virt-rescue.1.html
+noinst_DATA = $(top_builddir)/html/virt-rescue.1.html
virt-rescue.1: virt-rescue.pl
$(POD2MAN) \
@@ -32,9 +32,9 @@ virt-rescue.1: virt-rescue.pl
--release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
$< > $@
- at top_builddir@/html/virt-rescue.1.html: virt-rescue.pl
- mkdir -p @top_builddir@/html
- cd @top_builddir@ && pod2html \
+$(top_builddir)/html/virt-rescue.1.html: virt-rescue.pl
+ mkdir -p $(top_builddir)/html
+ cd $(top_builddir) && pod2html \
--css 'pod.css' \
--title 'virt-rescue, run a rescue shell on a virtual machine' \
--htmldir html \
--
1.6.2.5
More information about the Libguestfs
mailing list