Skip to content

Commit 64d2c31

Browse files
author
Nima Talebi
committed
Follow-up on recent XML config file rename
1 parent 6ff73a6 commit 64d2c31

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ vpath %.c $(SRC_D)
3636
vpath %.h $(SRC_D)
3737
vpath % $(OBJ_D)
3838

39-
ifeq (0,0)
39+
ifeq (0,1)
4040
TEMP:
4141
sudo make install
4242
sudo python -c 'import dmidecode; print "-"*80; print dmidecode.slot(); print "-"*80; print dmidecode.type(9)'

src/config.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@
2424
#endif
2525

2626
#ifndef PYTHON_XML_MAP
27-
#define PYTHON_XML_MAP "/usr/share/python-dmidecode/pythonmap.xml"
27+
#define PYTHON_XML_MAP "/usr/share/python-dmidecode/py-map.xml"
2828
#endif
2929

3030
#ifndef PYTHON_XML_TYPEMAP
31-
#define PYTHON_XML_TYPEMAP "/usr/share/python-dmidecode/typemap.xml"
31+
#define PYTHON_XML_TYPEMAP "/usr/share/python-dmidecode/py-typemap.xml"
3232
#endif
3333

3434
#endif

src/setup-dbg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
author = "Nima Talebi & David Sommerseth",
99
author_email = "nima@it.net.au, davids@redhat.com",
1010
url = "http://projects.autonomy.net.au/python-dmidecode/",
11-
data_files = [ ('share/python-dmidecode-dbg', ['src/pythonmap.xml']) ],
11+
data_files = [ ('share/python-dmidecode-dbg', ['src/py-map.xml', 'src/py-typemap.xml']) ],
1212
ext_modules = [
1313
Extension(
1414
"dmidecode",

src/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
author = "Nima Talebi & David Sommerseth",
99
author_email = "nima@it.net.au, davids@redhat.com",
1010
url = "http://projects.autonomy.net.au/python-dmidecode/",
11-
data_files = [ ('share/python-dmidecode', ['src/pythonmap.xml']) ],
11+
data_files = [ ('share/python-dmidecode', ['src/py-map.xml', 'src/py-typemap.xml']) ],
1212
ext_modules = [
1313
Extension(
1414
"dmidecode",

0 commit comments

Comments
 (0)