CFLAGS=-O2 -m486 -fomit-frame-pointer -Wall -Wno-parentheses -malign-loops=0 -malign-jumps=0 -malign-functions=2
LDFLAGS=-s
+ROOT=/
all: ywho nwhod nwho
install:
strip ywho
- install -s -m 755 ywho nwho /usr/bin
- ln -sf nwho /usr/bin/nuptime
- install -s -m 755 nwhod /usr/sbin
- install -d -m 755 /var/spool/nwho
+ mkdir -p $(ROOT)/usr/bin $(ROOT)/usr/sbin
+ install -s -m 755 ywho nwho $(ROOT)/usr/bin
+ ln -sf nwho $(ROOT)/usr/bin/nuptime
+ install -s -m 755 nwhod $(ROOT)/usr/sbin
+ install -d -m 755 $(ROOT)/var/spool/nwho
--- /dev/null
+ywho (1.0) unstable; urgency=low
+
+ * First released version.
+
+ -- Martin Mares <mj@ucw.cz> Sun, 8 Jan 1999 14:44:21 +0100
+
+Local variables:
+ mode: debian-changelog
+ End:
--- /dev/null
+Source: ywho
+Section: ucw
+Priority: optional
+Maintainer: Martin Mares <mj@ucw.cz>
+Standards-Version: 2.1.0.0
+
+Package: ywho
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: Extended who
+ This is Yet Another Who Replacement utility with neat display of
+ all logged in users together with important system status information
+ like average load, current date and time, free memory and so on.
+ Also includes nwho/nwhod, a replacement for rwho/rwhod.
--- /dev/null
+YWho -- who/rwho/rwhod replacement
+Copyright (c) 1996--1999 Martin Mares <mj@ucw.cz>
+
+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, 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 in the file /usr/doc/copyright/GPL. If not,
+write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
+MA 02139, USA.
--- /dev/null
+#!/usr/bin/make -f
+# Rules for building of ywho Debian/UCW Package
+# (c) 1999 Martin Mares <mj@ucw.cz>
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+build: build-stamp
+build-stamp:
+ dh_testdir
+ $(MAKE)
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+ $(MAKE) clean
+ dh_clean
+
+binary-indep: build
+
+binary-arch: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs etc sbin
+
+ $(MAKE) ROOT=`pwd`/debian/tmp install
+
+# dh_installdocs
+# dh_installexamples
+# dh_installmenu
+# dh_installinit
+# dh_installcron
+# dh_installmanpages
+ dh_undocumented nwho.1 nwhod.8 ywho.1
+ dh_installchangelogs
+ dh_strip
+# dh_compress
+ dh_fixperms
+# dh_suidregister
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+# dh_makeshlibs
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+
+.PHONY: build clean binary-indep binary-arch binary