Replaced the confg.h by config.def.h file.
authorDaniel Carl <danielcarl@gmx.de>
Thu, 18 Jul 2013 00:01:17 +0000 (02:01 +0200)
committerDaniel Carl <danielcarl@gmx.de>
Thu, 18 Jul 2013 00:03:16 +0000 (02:03 +0200)
.gitignore
Makefile
src/config.def.h [new file with mode: 0644]
src/config.h [deleted file]

index 2e798c2..e92aab6 100644 (file)
@@ -5,3 +5,4 @@ vimb_dbg
 *.tar.gz
 doc/*.1
 src/hints.js.h
+src/config.h
index 40cdebf..5358867 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -21,6 +21,10 @@ $(TARGET): $(OBJ)
        @echo "$(CC) $@"
        @$(CC) $(OBJ) -o $(TARGET) $(LDFLAGS)
 
+src/config.h: src/config.def.h
+       @echo create $@ from src/config.def.h
+       @cp src/config.def.h $@
+
 %.o: %.c %.h src/config.h
        @echo "${CC} $<"
        @$(CC) -c -o $@ $< $(CPPFLAGS) $(CFLAGS)
diff --git a/src/config.def.h b/src/config.def.h
new file mode 100644 (file)
index 0000000..f6645e0
--- /dev/null
@@ -0,0 +1,32 @@
+/**
+ * vimb - a webkit based vim like browser.
+ *
+ * Copyright (C) 2012-2013 Daniel Carl
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see http://www.gnu.org/licenses/.
+ */
+
+#ifndef _CONFIG_H
+#define _CONFIG_H
+
+/* time in seconds after that message will be removed from inputbox if the
+ * message where only temporary */
+#define MESSAGE_TIMEOUT              5
+
+#define SETTING_MAX_CONNS           25
+#define SETTING_MAX_CONNS_PER_HOST   5
+
+#define MAXIMUM_HINTS              500
+
+#endif /* end of include guard: _CONFIG_H */
diff --git a/src/config.h b/src/config.h
deleted file mode 100644 (file)
index f6645e0..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-/**
- * vimb - a webkit based vim like browser.
- *
- * Copyright (C) 2012-2013 Daniel Carl
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see http://www.gnu.org/licenses/.
- */
-
-#ifndef _CONFIG_H
-#define _CONFIG_H
-
-/* time in seconds after that message will be removed from inputbox if the
- * message where only temporary */
-#define MESSAGE_TIMEOUT              5
-
-#define SETTING_MAX_CONNS           25
-#define SETTING_MAX_CONNS_PER_HOST   5
-
-#define MAXIMUM_HINTS              500
-
-#endif /* end of include guard: _CONFIG_H */