[mw-devel] MW3 r1009 - trunk
arthur at sucs.org
arthur at sucs.org
Fri Jan 4 14:34:40 GMT 2008
Author: arthur
Date: 2008-01-04 14:34:39 +0000 (Fri, 04 Jan 2008)
New Revision: 1009
Modified:
trunk/Makefile
trunk/mw.spec
Log:
really make rpm build work this time
Modified: trunk/Makefile
===================================================================
--- trunk/Makefile 2007-12-19 15:13:24 UTC (rev 1008)
+++ trunk/Makefile 2008-01-04 14:34:39 UTC (rev 1009)
@@ -16,11 +16,10 @@
endif
install:
- install -d $(HOMEPATH)/mesgs
- touch "$(HOMEPATH)/who.bb"
- touch "$(HOMEPATH)/log.bb"
- install -Ds mw $(bindir)/mw
- install $(HOMEPATH) $(INSTALLFILES)
+ install -d $(libdir)/mw/mesgs
+ touch "$(libdir)/mw/who.bb"
+ touch "$(libdir)/mw/log.bb"
+ cp -a $(INSTALLFILES) $(libdir)/mw/
make -C src install
tarball:
Modified: trunk/mw.spec
===================================================================
--- trunk/mw.spec 2007-12-19 15:13:24 UTC (rev 1008)
+++ trunk/mw.spec 2008-01-04 14:34:39 UTC (rev 1009)
@@ -25,10 +25,11 @@
cd ..
%install
-cd src
%makeinstall
-cd ..
+%clean
+rm -fr $RPM_BUILD_ROOT
+
%pre
# Add the user "mw"
/usr/sbin/useradd -c "mw system" \
More information about the mw-devel
mailing list