]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
build-sys: create static uuid_generate_*.3 files
authorKarel Zak <kzak@redhat.com>
Wed, 6 Jun 2012 19:31:59 +0000 (21:31 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 26 Jun 2012 18:50:54 +0000 (20:50 +0200)
It seems more simple to create small three files with man page links
than generate the files on the fly.

Note that the libuuid/man directory is not in builddir by default so
you have to create proper directory and then create the man pages...
too complex task for this three tiny files.

Signed-off-by: Karel Zak <kzak@redhat.com>
libuuid/man/Makemodule.am
libuuid/man/uuid_generate_random.3 [new file with mode: 0644]
libuuid/man/uuid_generate_time.3 [new file with mode: 0644]
libuuid/man/uuid_generate_time_safe.3 [new file with mode: 0644]

index 9824fbc6912f606ea69b7751700c917db9f3d8a2..81287d5c796814d5911760490fc4924e1295fc1c 100644 (file)
@@ -8,15 +8,7 @@ dist_man_MANS += \
        libuuid/man/uuid_is_null.3 \
        libuuid/man/uuid_parse.3 \
        libuuid/man/uuid_time.3 \
-       libuuid/man/uuid_unparse.3
-
-UUID_GENERATE_LINKS = \
+       libuuid/man/uuid_unparse.3 \
        libuuid/man/uuid_generate_random.3 \
        libuuid/man/uuid_generate_time.3 \
        libuuid/man/uuid_generate_time_safe.3
-
-man_MANS += $(UUID_GENERATE_LINKS)
-CLEANFILES += $(man_MANS)
-
-$(UUID_GENERATE_LINKS):
-       $(AM_V_GEN)echo ".so man3/uuid_generate.3" > $@
diff --git a/libuuid/man/uuid_generate_random.3 b/libuuid/man/uuid_generate_random.3
new file mode 100644 (file)
index 0000000..8405486
--- /dev/null
@@ -0,0 +1 @@
+.so man3/uuid_generate.3
diff --git a/libuuid/man/uuid_generate_time.3 b/libuuid/man/uuid_generate_time.3
new file mode 100644 (file)
index 0000000..8405486
--- /dev/null
@@ -0,0 +1 @@
+.so man3/uuid_generate.3
diff --git a/libuuid/man/uuid_generate_time_safe.3 b/libuuid/man/uuid_generate_time_safe.3
new file mode 100644 (file)
index 0000000..8405486
--- /dev/null
@@ -0,0 +1 @@
+.so man3/uuid_generate.3