Commit ca17f1416214a26dbb661b51407b308dddcd99d6
1 parent
899cefb8
Exists in
master
Updating .deb packages.
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
debian/rules
@@ -21,7 +21,7 @@ build-stamp: | @@ -21,7 +21,7 @@ build-stamp: | ||
21 | 21 | ||
22 | # Add here commands to compile the package. | 22 | # Add here commands to compile the package. |
23 | ./autogen.sh | 23 | ./autogen.sh |
24 | - make all | 24 | + python3 setup.py build |
25 | # --- end custom part for compiling | 25 | # --- end custom part for compiling |
26 | 26 | ||
27 | touch build-stamp | 27 | touch build-stamp |
@@ -44,7 +44,7 @@ install: build | @@ -44,7 +44,7 @@ install: build | ||
44 | dh_installdirs | 44 | dh_installdirs |
45 | 45 | ||
46 | # Install extension | 46 | # Install extension |
47 | - make DESTDIR=$(PWD)/debian/python3-tn3270 install | 47 | + python3 setup.py install --prefix=/usr --root=$(PWD)/debian/python3-tn3270 |
48 | 48 | ||
49 | # Create updated file lists | 49 | # Create updated file lists |
50 | find $(PWD)/debian/python3-tn3270 -type f | sed -e "s@^$(PWD)/debian/python3-tn3270/@/@g" > $(PWD)/debian/python3-tn3270.install | 50 | find $(PWD)/debian/python3-tn3270 -type f | sed -e "s@^$(PWD)/debian/python3-tn3270/@/@g" > $(PWD)/debian/python3-tn3270.install |