Permalink
Browse files

2009-02-05 Niall Power - <niall.power@sun.com>

        * VERSION: bump to 0.2.5
        * Makefile: don't install .pyc files, but generate them as part
          of "install:" rule. Fixes bugster: 6754650
        * py-compile.py: Prepend "DESTDIR" to compile python bytecode
          within the installed directory tree.
        * usr/share/time-slider/lib/time_slider/__init__.pyc: removed
        * usr/share/time-slider/lib/time_slider/cleanupmanager.pyc: removed
        * usr/share/time-slider/lib/time_slider/deletegui.pyc: removed
        * usr/share/time-slider/lib/time_slider/fileversion.pyc: removed
        * usr/share/time-slider/lib/time_slider/notification.pyc: removed
        * usr/share/time-slider/lib/time_slider/rbac.pyc: removed
        * usr/share/time-slider/lib/time_slider/setupgui.pyc: removed
        * usr/share/time-slider/lib/time_slider/smfmanager.pyc: removed
        * usr/share/time-slider/lib/time_slider/snapnowui.pyc: removed
        * usr/share/time-slider/lib/time_slider/zfs.pyc: removed
        * usr/share/time-slider/lib/time_slider/zfscontroller.pyc: removed
  • Loading branch information...
1 parent 59f177c commit 3009b63be14235c54571860fe9fe016e57885ccf niall@localhost committed Feb 5, 2009
View
20 ChangeLog
@@ -1,3 +1,23 @@
+2009-02-05 Niall Power - <niall.power@sun.com>
+
+ * VERSION: bump to 0.2.5
+ * Makefile: don't install .pyc files, but generate them as part
+ of "install:" rule. Fixes bugster: 6754650
+ * py-compile.py: Prepend "DESTDIR" to compile python bytecode
+ within the installed directory tree.
+ * usr/share/time-slider/lib/time_slider/__init__.pyc: removed
+ * usr/share/time-slider/lib/time_slider/cleanupmanager.pyc: removed
+ * usr/share/time-slider/lib/time_slider/deletegui.pyc: removed
+ * usr/share/time-slider/lib/time_slider/fileversion.pyc: removed
+ * usr/share/time-slider/lib/time_slider/notification.pyc: removed
+ * usr/share/time-slider/lib/time_slider/rbac.pyc: removed
+ * usr/share/time-slider/lib/time_slider/setupgui.pyc: removed
+ * usr/share/time-slider/lib/time_slider/smfmanager.pyc: removed
+ * usr/share/time-slider/lib/time_slider/snapnowui.pyc: removed
+ * usr/share/time-slider/lib/time_slider/zfs.pyc: removed
+ * usr/share/time-slider/lib/time_slider/zfscontroller.pyc: removed
+
+
2009-01-23 Erwann Chenede - <erwann.chenede@sun.com>
* VERSION: bump version to 0.2.4
View
17 Makefile
@@ -5,6 +5,7 @@ INSTALL = /usr/sbin/install
INSTALL_DATA = ${INSTALL} -u root -g bin -m 644 -f
INSTALL_PROGRAM = ${INSTALL} -u root -g bin -f
INSTALL_SCRIPT = ${INSTALL} -f
+PYTHON = /usr/bin/python
RM = /usr/bin/rm -f
RMRF = /usr/bin/rm -Rf
RMDIR = /usr/bin/rmdir
@@ -20,16 +21,16 @@ DISTFILES = Authors \
usr \
var \
-all: compile
+clean:
+ $(RM) usr/share/time-slider/lib/time_slider/*.pyc
+
+all:
for subdir in $(SUBDIRS); do \
cd $$subdir; make; cd ..;\
done
echo $(VERSION)
-compile:
- python py-compile.py
-
-dist: all
+dist: clean all
$(RMRF) time-slider-$(VERSION)
mkdir time-slider-$(VERSION)
cp -pR $(DISTFILES) time-slider-$(VERSION)
@@ -77,13 +78,9 @@ install:
$(INSTALL_DATA) $(DESTDIR)/usr/share/time-slider/lib/time_slider $$file; \
fi; \
done
- for file in usr/share/time-slider/lib/time_slider/*.pyc; do \
- if test -f $$file ; then \
- $(INSTALL_DATA) $(DESTDIR)/usr/share/time-slider/lib/time_slider $$file; \
- fi; \
- done
$(mkinstalldirs) $(DESTDIR)/var/svc/manifest/application
$(INSTALL_DATA) $(DESTDIR)/var/svc/manifest/application var/svc/manifest/application/time-slider.xml
+ $(PYTHON) py-compile.py
uninstall:
for subdir in $(SUBDIRS); do \
View
2 VERSION
@@ -1 +1 @@
-VERSION = 0.2.4
+VERSION = 0.2.5
View
6 py-compile.py
@@ -1,3 +1,7 @@
import compileall
-compileall.compile_dir("usr", force=1)
+import os
+
+destdir = os.getenv("DESTDIR", ".")
+dir = destdir + "/usr"
+compileall.compile_dir(destdir, force=1)
View
BIN usr/share/time-slider/lib/time_slider/__init__.pyc
Binary file not shown.
View
BIN usr/share/time-slider/lib/time_slider/cleanupmanager.pyc
Binary file not shown.
View
BIN usr/share/time-slider/lib/time_slider/deletegui.pyc
Binary file not shown.
View
BIN usr/share/time-slider/lib/time_slider/fileversion.pyc
Binary file not shown.
View
BIN usr/share/time-slider/lib/time_slider/notification.pyc
Binary file not shown.
View
BIN usr/share/time-slider/lib/time_slider/rbac.pyc
Binary file not shown.
View
BIN usr/share/time-slider/lib/time_slider/setupgui.pyc
Binary file not shown.
View
BIN usr/share/time-slider/lib/time_slider/smfmanager.pyc
Binary file not shown.
View
BIN usr/share/time-slider/lib/time_slider/snapnowui.pyc
Binary file not shown.
View
BIN usr/share/time-slider/lib/time_slider/zfs.pyc
Binary file not shown.
View
BIN usr/share/time-slider/lib/time_slider/zfscontroller.pyc
Binary file not shown.

0 comments on commit 3009b63

Please sign in to comment.