aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYves Duret <yduret@mandriva.com>2001-08-30 13:16:59 +0000
committerYves Duret <yduret@mandriva.com>2001-08-30 13:16:59 +0000
commitd9efcdea23d47d81c02f6bbf0e0e79cc59975a99 (patch)
tree7bca90dc235503266ea091920552f61cef655afb
parent6cd2528d30438b82a5d48b60b472a02a47911b71 (diff)
downloadtransfugdrake-d9efcdea23d47d81c02f6bbf0e0e79cc59975a99.tar
transfugdrake-d9efcdea23d47d81c02f6bbf0e0e79cc59975a99.tar.gz
transfugdrake-d9efcdea23d47d81c02f6bbf0e0e79cc59975a99.tar.bz2
transfugdrake-d9efcdea23d47d81c02f6bbf0e0e79cc59975a99.tar.xz
transfugdrake-d9efcdea23d47d81c02f6bbf0e0e79cc59975a99.zip
better makefile/rpm
-rw-r--r--Makefile8
-rwxr-xr-xconfigure1
-rw-r--r--transfugdrake.spec1
3 files changed, 6 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 65e5336..50c1dec 100644
--- a/Makefile
+++ b/Makefile
@@ -9,12 +9,12 @@ RPM=$(HOME)/rpm
all: transfug_oe
# for d in $(SUBDIRS); do ( cd $$d ; make $@ ) ; done
-transfug_oe: transfug_oe.c
- $(CC) $(CFLAGS) -o transfug_oe transfug_oe.c
+transfug_oe: transfug_oe.o
+ $(CC) $(CFLAGS) -o transfug_oe transfug_oe.o
clean:
# $(MAKE) -C po $@
- rm -f core transfug_oe
+ rm -f core transfug_oe *~
# for d in $(SUBDIRS); do ( cd $$d ; make $@ ) ; done
install: all
@@ -39,7 +39,7 @@ dis: clean
rpm: dis ../$(NAME)-$(VERSION).tar.bz2 $(RPM)
cp -f ../$(NAME)-$(VERSION).tar.bz2 $(RPM)/SOURCES
- cp -f *.xpm.bz2 $(RPM)/SOURCES
+ #cp -f *.xpm.bz2 $(RPM)/SOURCES
cp -f $(NAME).spec $(RPM)/SPECS/
-rpm -ba --clean --rmsource $(NAME).spec
rm -f ../$(NAME)-$(VERSION).tar.bz2
diff --git a/configure b/configure
new file mode 100755
index 0000000..1a24852
--- /dev/null
+++ b/configure
@@ -0,0 +1 @@
+#!/bin/sh
diff --git a/transfugdrake.spec b/transfugdrake.spec
index 0d270b9..7da77ea 100644
--- a/transfugdrake.spec
+++ b/transfugdrake.spec
@@ -30,6 +30,7 @@ to standard unix mbox files.
%setup -q
%build
+%configure
%make
%install