From: Ivan Rako <irako@nekkar.carnet.hr>
Date: Sat, 23 Apr 2011 19:38:22 +0000 (+0200)
Subject: manpage
X-Git-Tag: debian/1.27.squeeze1^0
X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=commitdiff_plain;h=refs%2Fheads%2Fwheezy;p=sysadmin-cn.git

manpage
---

diff --git a/config b/config
new file mode 100644
index 0000000..e69de29
diff --git a/debian/conffiles b/debian/conffiles
deleted file mode 100644
index bdb6438..0000000
--- a/debian/conffiles
+++ /dev/null
@@ -1 +0,0 @@
-etc/sysadmin/users
diff --git a/debian/control b/debian/control
index a9972ef..da7b76e 100644
--- a/debian/control
+++ b/debian/control
@@ -11,6 +11,6 @@ Conflicts: sysadmin
 Provides: sysadmin
 Depends: libc6, quota (>= 3.09)
 Architecture: any
-Description: tty-based system administration tool.
- sysadmin is a simple menu driven tool for usual system administration
+Description: tty-based system administration tool
+ Sysadmin is a simple menu driven tool for usual system administration
  tasks, including user and group management and system shutdown.
diff --git a/debian/copyright b/debian/copyright
index e3933e7..28add9f 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,7 +1,7 @@
-This package is copyright (c) by CARNet <paketi@carnet.hr>.
+Copyright 2006 CARNet <paketi@carnet.hr>
 
-You are free to distribute this software under the terms of
-the GNU General Public License.
+You are free to distribute this software package under the terms of the
+GNU General Public License.
 
 On Debian systems, the complete text of the GNU General Public
 License can be found in the file /usr/share/common-licenses/GPL.
diff --git a/debian/install b/debian/install
index 0db8436..6d18f99 100644
--- a/debian/install
+++ b/debian/install
@@ -1,3 +1,4 @@
-users etc/sysadmin
 sysadm.man usr/share/sysadmin
 sysadmin usr/bin
+users etc/sysadmin
+config etc/sysadmin
diff --git a/debian/manpages b/debian/manpages
new file mode 100644
index 0000000..e847d27
--- /dev/null
+++ b/debian/manpages
@@ -0,0 +1 @@
+sysadmin.8
diff --git a/debian/rules b/debian/rules
index 7e32f42..cbe925d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,86 +1,3 @@
 #!/usr/bin/make -f
-# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-configure: configure-stamp
-configure-stamp:
-	dh_testdir
-	# Add here commands to configure the package.
-
-	touch configure-stamp
-
-
-build: build-stamp
-
-build-stamp: configure-stamp 
-	dh_testdir
-
-	# Add here commands to compile the package.
-	$(MAKE)
-
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp configure-stamp
-
-	# Add here commands to clean up after the build process.
-	-$(MAKE) clean
-
-	dh_clean 
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k 
-	dh_installdirs
-
-	# Add here commands to install the package into debian/openssh-cn.
-	# $(MAKE) install DESTDIR=$(CURDIR)/debian/openssh-cn
-
-
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-arch: build install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs -k
-	dh_installdocs
-#	dh_installexamples
-	dh_install
-#	dh_installmenu
-#	dh_installdebconf	
-#	dh_installlogrotate
-#	dh_installemacsen
-#	dh_installpam
-#	dh_installmime
-#	dh_installinit
-#	dh_installcron
-#	dh_installinfo
-	dh_installman
-#	dh_link
-	dh_strip
-#	dh_compress
-	dh_fixperms
-#	dh_perl
-#	dh_python
-	dh_shlibdeps
-	dh_gencontrol
-	dh_makeshlibs
-	dh_installdeb
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+%:
+	dh $@
diff --git a/sysadmin.8 b/sysadmin.8
new file mode 100644
index 0000000..46ed1c4
--- /dev/null
+++ b/sysadmin.8
@@ -0,0 +1,24 @@
+.TH sysadmin 8 "April 2011" CARNet "CARNet Debian Commands"
+.SH NAME
+sysadmin \- tty\-based system administration tool
+.SH SYNOPSIS
+.B sysadmin
+.SH DESCRIPTION
+.PP
+Sysadmin is a simple menu driven tool for usual system administration
+tasks, including user and group management and system shutdown.
+.SH AUTHOR
+Written by Ivan Rako <Ivan.Rako@CARNet.hr>.
+.SH "REPORTING BUGS"
+Report bugs to <paketi@CARNet.hr>.
+.SH COPYRIGHT
+Copyright 2006 CARNet <paketi@carnet.hr>
+.PP
+You are free to distribute this software package under the terms of the
+GNU General Public License.
+.PP
+On Debian systems, the complete text of the GNU General Public License can
+be found in the file /usr/share/common-licenses/GPL.
+.SH "SEE ALSO"
+The full documentation for sysadmin is stored in:
+/usr/share/doc/sysadmin-cn/manual.txt