r1659 - dev/concept/moongoo

neocool at linuxfromscratch.org neocool at linuxfromscratch.org
Wed Dec 15 15:25:23 PST 2004


Author: neocool
Date: 2004-12-15 16:25:22 -0700 (Wed, 15 Dec 2004)
New Revision: 1659

Added:
   dev/concept/moongoo/main.h
Removed:
   dev/concept/moongoo/moongoo.h
Modified:
   dev/concept/moongoo/Makefile
   dev/concept/moongoo/moongoo.c
Log:
Update.


Modified: dev/concept/moongoo/Makefile
===================================================================
--- dev/concept/moongoo/Makefile	2004-12-15 23:20:54 UTC (rev 1658)
+++ dev/concept/moongoo/Makefile	2004-12-15 23:25:22 UTC (rev 1659)
@@ -32,6 +32,6 @@
 	./$(BIN) $(OPTS)
 
 build.o: build.h
-moongoo.o: moongoo.h
+moongoo.o: main.h
 plugin.o: plugin.h
 url.o: url.h

Copied: dev/concept/moongoo/main.h (from rev 1658, dev/concept/moongoo/moongoo.h)
===================================================================
--- dev/concept/moongoo/moongoo.h	2004-12-15 23:20:54 UTC (rev 1658)
+++ dev/concept/moongoo/main.h	2004-12-15 23:25:22 UTC (rev 1659)
@@ -0,0 +1,17 @@
+#ifndef __MAIN_H
+#define __MAIN_H
+
+#define DEF_SYN		"book"
+#define MOO_XML		"/.nALFS/answers.xml"
+#define NAME		"moongoo"
+#define PLUG_DIR	"./"
+#define PKG_XML		"packages.xml"
+#define	VERSION		"0.0.3"
+
+/* Some default settings, those should be configurable in the final tool */
+role default_filter[4] = { NOEXECUTE, INTERACTIVE, TESTSUITE, 0 };
+char *paralell_filter[4] = { "configure-host", "clean", "mrproper", NULL };
+char *popt_pkg[2] = { "Glibc", NULL };
+char *popt_cmd[2] = { "PARALLELMFLAGS=-j", NULL };
+
+#endif

Modified: dev/concept/moongoo/moongoo.c
===================================================================
--- dev/concept/moongoo/moongoo.c	2004-12-15 23:20:54 UTC (rev 1658)
+++ dev/concept/moongoo/moongoo.c	2004-12-15 23:25:22 UTC (rev 1659)
@@ -6,7 +6,7 @@
 
 #include <build.h>
 #include <libalfs.h>
-#include <moongoo.h>
+#include <main.h>
 #include <plugin.h>
 #include <url.h>
 
@@ -61,7 +61,7 @@
 				printf("%s %s\nWritten by Boris Buegling\n", NAME, VERSION);
 				goto cleanup;
 			case 'h':
-				printf("moongoo [OPTIONS] BOOK\n");
+				printf("%s [OPTIONS] BOOK\n", NAME);
 				printf("\t-b\t\tBuild\n");
 				printf("\t-C\t\tNo colors in output\n");
 				printf("\t-c CONF.XML\tXML configuration file\n");

Deleted: dev/concept/moongoo/moongoo.h
===================================================================
--- dev/concept/moongoo/moongoo.h	2004-12-15 23:20:54 UTC (rev 1658)
+++ dev/concept/moongoo/moongoo.h	2004-12-15 23:25:22 UTC (rev 1659)
@@ -1,17 +0,0 @@
-#ifndef __MOONGOO_H
-#define __MOONGOO_H
-
-#define DEF_SYN		"book"
-#define MOO_XML		"/.nALFS/answers.xml"
-#define NAME		"moongoo"
-#define PLUG_DIR	"./"
-#define PKG_XML		"packages.xml"
-#define	VERSION		"0.0.3"
-
-/* Some default settings, those should be configurable in the final tool */
-role default_filter[4] = { NOEXECUTE, INTERACTIVE, TESTSUITE, 0 };
-char *paralell_filter[4] = { "configure-host", "clean", "mrproper", NULL };
-char *popt_pkg[2] = { "Glibc", NULL };
-char *popt_cmd[2] = { "PARALLELMFLAGS=-j", NULL };
-
-#endif




More information about the alfs-log mailing list