[gnome-devel-docs] Updated samples/hello-in-js
- From: Tiffany Antopolski <antopolski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-devel-docs] Updated samples/hello-in-js
- Date: Mon, 17 Jun 2013 16:35:06 +0000 (UTC)
commit f6336b05ebecf47fc0c51494da330650d14c9f27
Author: Tiffany Ann Antopolski <tiffany antopolski gmail com>
Date: Mon Jun 17 12:34:29 2013 -0400
Updated samples/hello-in-js
platform-demos/C/samples/hello-in-js/Makefile.am | 23 ++++++++++++++++++++
.../C/samples/{helloWorld => hello-in-js}/README | 4 +-
.../samples/{helloWorld => hello-in-js}/autogen.sh | 0
.../{helloWorld => hello-in-js}/configure.ac | 2 +-
.../helloWorld => hello-in-js/hello-world} | 0
.../hello-world.desktop.in} | 2 +-
platform-demos/C/samples/helloWorld/Makefile.am | 11 ---------
7 files changed, 27 insertions(+), 15 deletions(-)
---
diff --git a/platform-demos/C/samples/hello-in-js/Makefile.am
b/platform-demos/C/samples/hello-in-js/Makefile.am
new file mode 100644
index 0000000..8ecb069
--- /dev/null
+++ b/platform-demos/C/samples/hello-in-js/Makefile.am
@@ -0,0 +1,23 @@
+# The actual runnable program is set to the SCRIPTS primitive.
+# # Prefix bin_ tells where to copy this
+bin_SCRIPTS = hello-world
+# # List of files to be distributed
+EXTRA_DIST = \
+ $(bin_SCRIPTS)
+#
+# # The desktop files
+desktopdir = $(datadir)/applications
+desktop_DATA = \
+ hello-world.desktop
+
+CLEANFILES = \
+ aclocal.m4 \
+ autom4te.cache \
+ config.log \
+ config.status \
+ configure \
+ hello-world.desktop \
+ install-sh \
+ missing \
+ Makefile.in \
+ Makefile
diff --git a/platform-demos/C/samples/helloWorld/README b/platform-demos/C/samples/hello-in-js/README
similarity index 84%
rename from platform-demos/C/samples/helloWorld/README
rename to platform-demos/C/samples/hello-in-js/README
index e21367d..dba645f 100644
--- a/platform-demos/C/samples/helloWorld/README
+++ b/platform-demos/C/samples/hello-in-js/README
@@ -11,14 +11,14 @@ autom4te.cache
config.log
config.status
configure
-helloWorld.desktop
+hello-world.desktop
install-sh
missing
Makefile.in
Makefile
Running "make install", installs the application in /home/your_username/.local/bin
-and installs the helloWorld.desktop file in /home/your_username/.local/share/applications
+and installs the hello-world.desktop file in /home/your_username/.local/share/applications
You can now run the application by typing "Hello World" in the Overview.
diff --git a/platform-demos/C/samples/helloWorld/autogen.sh b/platform-demos/C/samples/hello-in-js/autogen.sh
similarity index 100%
rename from platform-demos/C/samples/helloWorld/autogen.sh
rename to platform-demos/C/samples/hello-in-js/autogen.sh
diff --git a/platform-demos/C/samples/helloWorld/configure.ac
b/platform-demos/C/samples/hello-in-js/configure.ac
similarity index 77%
rename from platform-demos/C/samples/helloWorld/configure.ac
rename to platform-demos/C/samples/hello-in-js/configure.ac
index 075cac0..bdd443b 100644
--- a/platform-demos/C/samples/helloWorld/configure.ac
+++ b/platform-demos/C/samples/hello-in-js/configure.ac
@@ -1,5 +1,5 @@
# This file is processed by autoconf to create a configure script
AC_INIT([Hello World], 1.0)
AM_INIT_AUTOMAKE([1.10 no-define foreign dist-xz no-dist-gzip])
-AC_CONFIG_FILES([Makefile helloWorld.desktop])
+AC_CONFIG_FILES([Makefile hello-world.desktop])
AC_OUTPUT
diff --git a/platform-demos/C/samples/helloWorld/helloWorld b/platform-demos/C/samples/hello-in-js/hello-world
similarity index 100%
rename from platform-demos/C/samples/helloWorld/helloWorld
rename to platform-demos/C/samples/hello-in-js/hello-world
diff --git a/platform-demos/C/samples/helloWorld/helloWorld.desktop.in
b/platform-demos/C/samples/hello-in-js/hello-world.desktop.in
similarity index 86%
rename from platform-demos/C/samples/helloWorld/helloWorld.desktop.in
rename to platform-demos/C/samples/hello-in-js/hello-world.desktop.in
index a96d438..06fbd41 100644
--- a/platform-demos/C/samples/helloWorld/helloWorld.desktop.in
+++ b/platform-demos/C/samples/hello-in-js/hello-world.desktop.in
@@ -3,7 +3,7 @@ Version=1.0
Encoding=UTF-8
Name=Hello World
Comment=Say Hello
-Exec= prefix@/bin/helloWorld
+Exec= prefix@/bin/hello-world
Icon=application-default-icon
Terminal=false
Type=Application
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]