echo "# $OS" >$CONFIG_MK
echo "/* $OS */" >$CONFIG_H
+VERSION=$($SED -ne 's/VERSION= //p' Makefile)
+echo "#define VERSION \"$VERSION\"" >>$CONFIG_H
+
for x in PREFIX SYSCONFDIR BINDIR ICONDIR; do
eval v=\$$x
# Make files look nice for import
/*
* dhcpcd-gtk
- * Copyright 2009 Roy Marples <roy@marples.name>
+ * Copyright 2009-2010 Roy Marples <roy@marples.name>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
#include "libdhcpcd.h"
#define PACKAGE "dhcpcd-gtk"
-#define VERSION "0.4.0"
/* Work out if we have a private address or not
* 10/8
/*
* dhcpcd-gtk
- * Copyright 2009 Roy Marples <roy@marples.name>
+ * Copyright 2009-2010 Roy Marples <roy@marples.name>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
/*
* dhcpcd-gtk
- * Copyright 2009 Roy Marples <roy@marples.name>
+ * Copyright 2009-2010 Roy Marples <roy@marples.name>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* SUCH DAMAGE.
*/
+#include "config.h"
#include "dhcpcd-gtk.h"
-static const char *copyright = "Copyright (c) 2009 Roy Marples";
+static const char *copyright = "Copyright (c) 2009-2010 Roy Marples";
static const char *authors[] = { "Roy Marples <roy@marples.name>", NULL };
static void
/*
* dhcpcd-gtk
- * Copyright 2009 Roy Marples <roy@marples.name>
+ * Copyright 2009-2010 Roy Marples <roy@marples.name>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions