summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDavid Sommerseth <davids@redhat.com>2009-06-10 21:03:54 +0200
committerDavid Sommerseth <davids@redhat.com>2009-06-10 21:03:54 +0200
commitf744a1428ddd9e0c1a90f2725192abf9cd4d3628 (patch)
treedcab68b3ccaab0b340247beb62abb5eb709a7c5e /Makefile
parent7c10b3745d73ec1a0221239fcba3c49aa2c49de2 (diff)
downloadpython-dmidecode-f744a1428ddd9e0c1a90f2725192abf9cd4d3628.tar.gz
python-dmidecode-f744a1428ddd9e0c1a90f2725192abf9cd4d3628.tar.xz
python-dmidecode-f744a1428ddd9e0c1a90f2725192abf9cd4d3628.zip
Updated Makefile and redhat.spec to work
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index c4e28e5..da32cb6 100644
--- a/Makefile
+++ b/Makefile
@@ -28,7 +28,7 @@ CFLAGS += -O3
#LDFLAGS = -lefence
LDFLAGS =
SOFLAGS = -pthread -shared -L/home/nima/dev-room/projects/dmidecode -lutil
-SO = build/lib.linux-$(shell uname -m)-$(PY_VER)/dmidecode.so
+SO = build/lib.linux-$(shell uname -m)-$(PY_VER)/dmidecodemod.so
#. Search
vpath %.o $(OBJ_D)
@@ -43,8 +43,8 @@ TEMP:
endif
###############################################################################
-build: $(PY)-dmidecode.so
-$(PY)-dmidecode.so: $(SO)
+build: $(PY)-dmidecodemod.so
+$(PY)-dmidecodemod.so: $(SO)
cp $< $@
build: $(SO)
@@ -58,7 +58,7 @@ uninstall:
$(PY) src/setup.py uninstall
clean :
- dh_clean
+# dh_clean
$(PY) src/setup.py clean
-$(RM) *.so lib/*.o core
-rm -rf build .dpkg
@@ -67,7 +67,7 @@ clean :
tarball:
rm -rf $(PACKAGE)-$(VERSION)
mkdir $(PACKAGE)-$(VERSION)
- cp -r contrib doc examples lib Makefile man README src $(PACKAGE)-$(VERSION)
+ cp -r contrib doc examples lib Makefile man README src dmidecode.py redhat.spec $(PACKAGE)-$(VERSION)
tar -czvf $(PACKAGE)-$(VERSION).tar.gz $(PACKAGE)-$(VERSION)
rpm: tarball