Distribute examples in the archive
authorIustin Pop <iustin@google.com>
Wed, 3 Mar 2010 08:58:24 +0000 (09:58 +0100)
committerIustin Pop <iustin@google.com>
Wed, 10 Mar 2010 17:23:54 +0000 (18:23 +0100)
The examples were not shipped at all, which makes it hard to package
them.

This patch renames the directory holding them (example → examples), adds
the executable bit on the interfaces hook, and distributes them in the
dist archive.

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>

Makefile.am
examples/hooks/grub [moved from example/hooks/grub with 100% similarity]
examples/hooks/interfaces [moved from example/hooks/interfaces with 100% similarity, mode: 0755]

index 868d1a6..744de08 100644 (file)
@@ -9,7 +9,9 @@ os_DATA = common.sh
 
 dist_doc_DATA = COPYING NEWS README
 
-EXTRA_DIST = common.sh.in defaults
+EXTRA_DIST = common.sh.in defaults \
+       examples/hooks/grub \
+       examples/hooks/interfaces
 
 do_subst = sed \
        -e 's,[@]sysconfdir[@],$(sysconfdir),g' \
similarity index 100%
rename from example/hooks/grub
rename to examples/hooks/grub
old mode 100644 (file)
new mode 100755 (executable)
similarity index 100%
rename from example/hooks/interfaces
rename to examples/hooks/interfaces