b831ed24dd
- Ship *.pyc and *.pyo as usual.
22 lines
809 B
Diff
22 lines
809 B
Diff
--- compile.py~ 2006-04-10 17:32:27.000000000 +0300
|
|
+++ compile.py 2006-09-16 16:48:16.000000000 +0300
|
|
@@ -12,6 +12,7 @@
|
|
import sys
|
|
|
|
for f in sys.argv[2:]:
|
|
+ py_compile.compile(f, f + 'c', sys.argv[1] + f)
|
|
py_compile.compile(f, f + 'o', sys.argv[1] + f)
|
|
|
|
# compile.py ends here
|
|
--- Makefile~ 2006-06-29 00:19:16.000000000 +0300
|
|
+++ Makefile 2006-09-16 16:50:17.000000000 +0300
|
|
@@ -36,7 +36,7 @@
|
|
|
|
install:
|
|
-mkdir -p $(DESTDIR)$(LIBDIR) $(DESTDIR)$(BINDIR) $(DESTDIR)$(ETCDIR)/$(PACKAGE) $(DESTDIR)$(ETCDIR)/bash_completion.d $(DESTDIR)$(MANDIR)/man1
|
|
- cp -p *.py *.pyo $(DESTDIR)$(LIBDIR)
|
|
+ cp -p *.py *.pyc *.pyo $(DESTDIR)$(LIBDIR)
|
|
rm -f $(DESTDIR)$(LIBDIR)/compile.py*
|
|
if [ -z "$(POLICY)" ]; then \
|
|
sed -e 's/@VERSION@/$(VERSION)/' < rpmlint.py > $(DESTDIR)$(LIBDIR)/rpmlint.py ; \
|