Cosmetics, install help
authorMyhailo Danylenko <isbear@ukrpost.net>
Thu, 12 Nov 2009 12:46:56 +0200
changeset 1 c8473c43ce72
parent 0 aad5201e3413
child 2 30b66610f86a
Cosmetics, install help
CMakeLists.txt
marking.c
--- a/CMakeLists.txt	Wed Nov 11 11:07:19 2009 +0200
+++ b/CMakeLists.txt	Thu Nov 12 12:46:56 2009 +0200
@@ -48,7 +48,6 @@
 find_package(PkgConfig REQUIRED) 
 pkg_check_modules(GLIB REQUIRED glib-2.0) 
 pkg_check_modules(GMODULE REQUIRED gmodule-2.0) 
-#pkg_check_modules(LM REQUIRED loudmouth-1.0) 
 
 ## Compiler setup
 include_directories(SYSTEM ${GLIB_INCLUDE_DIRS} 
@@ -63,6 +62,6 @@
 ## Installation
 install(TARGETS marking DESTINATION lib/mcabber) 
 install(FILES marking.rc COPYING DESTINATION share/doc/${CPACK_PACKAGE_NAME})
-#install(DIRECTORY help DESTINATION share/mcabber)
+install(DIRECTORY help DESTINATION share/mcabber)
 
 ## The End ## vim: se ts=4: ##
--- a/marking.c	Wed Nov 11 11:07:19 2009 +0200
+++ b/marking.c	Thu Nov 12 12:46:56 2009 +0200
@@ -1,20 +1,24 @@
 
-/* Copyright 2009 Myhailo Danylenko
-
-This file is part of @PROJECT@
-
-@PROJECT@ 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 2 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/>. */
+/*
+ * marking.c            -- Actions on multiple buddies
+ *
+ * Copyrigth (C) 2009      Myhailo Danylenko <isbear@ukrpost.net>
+ *
+ * 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 2 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, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ * USA
+ */
 
 #include <glib.h>
 #include <gmodule.h>
@@ -32,8 +36,6 @@
 // mark set jid
 // mark clear jid
 // mark toggle jid
-// marked clear
-// marked do cmd
 static void do_mark (char *arg)
 {
 	char     **args   = split_arg (arg, 2, 1);
@@ -96,6 +98,8 @@
 	free_arg_lst (args);
 }
 
+// marked clear
+// marked do cmd
 void do_marked (char *arg)
 {
 	char **args = split_arg (arg, 2, 1);