aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-10-02 13:18:37 +0200
committerMattias Andrée <maandree@operamail.com>2015-10-02 13:18:37 +0200
commitd29717f7716fd0eadf0206445c6f274ff4247d76 (patch)
treea18bdbfda9b0971bb2c69e9a20b1b1b8b577e060
parentupdate dist (diff)
downloadpylibgamma-1.1.1.1.tar.gz
pylibgamma-1.1.1.1.tar.bz2
pylibgamma-1.1.1.1.tar.xz
fix makefile1.1.1.1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--Makefile28
1 files changed, 14 insertions, 14 deletions
diff --git a/Makefile b/Makefile
index fc92628..7661c01 100644
--- a/Makefile
+++ b/Makefile
@@ -139,23 +139,23 @@ install-lib: install-source install-compiled install-optimised install-native
.PHONY: install-source
install-source: $(foreach M,$(PYTHON_SRC),src/$(M).py)
- install -dm755 -- "$(DESTDIR)$(PYTHONDIR)/site-packages/$(PKGNAME)"
- install -m644 $^ -- "$(DESTDIR)$(PYTHONDIR)/site-packages/$(PKGNAME)"
+ install -dm755 -- "$(DESTDIR)$(PYTHONDIR)/site-packages/libgamma"
+ install -m644 $^ -- "$(DESTDIR)$(PYTHONDIR)/site-packages/libgamma"
.PHONY: install-compiled
install-compiled: $(foreach M,$(PYTHON_SRC),src/__pycache__/$(M).cpython-$(PY_VER).pyc)
- install -dm755 -- "$(DESTDIR)$(PYTHONDIR)/site-packages/$(PKGNAME)/__pycache__"
- install -m644 $^ -- "$(DESTDIR)$(PYTHONDIR)/site-packages/$(PKGNAME)/__pycache__"
+ install -dm755 -- "$(DESTDIR)$(PYTHONDIR)/site-packages/libgamma/__pycache__"
+ install -m644 $^ -- "$(DESTDIR)$(PYTHONDIR)/site-packages/libgamma/__pycache__"
.PHONY: install-optimised
install-optimised: $(foreach M,$(PYTHON_SRC),src/__pycache__/$(M).cpython-$(PY_VER).$(PY_OPT2_EXT))
- install -dm755 -- "$(DESTDIR)$(PYTHONDIR)/site-packages/$(PKGNAME)/__pycache__"
- install -m644 $^ -- "$(DESTDIR)$(PYTHONDIR)/site-packages/$(PKGNAME)/__pycache__"
+ install -dm755 -- "$(DESTDIR)$(PYTHONDIR)/site-packages/libgamma/__pycache__"
+ install -m644 $^ -- "$(DESTDIR)$(PYTHONDIR)/site-packages/libgamma/__pycache__"
.PHONY: install-native
install-native: $(foreach M,$(CYTHON_SRC),bin/$(M).so)
- install -dm755 -- "$(DESTDIR)$(PYTHONDIR)/site-packages/$(PKGNAME)"
- install -m755 $^ -- "$(DESTDIR)$(PYTHONDIR)/site-packages/$(PKGNAME)"
+ install -dm755 -- "$(DESTDIR)$(PYTHONDIR)/site-packages/libgamma"
+ install -m755 $^ -- "$(DESTDIR)$(PYTHONDIR)/site-packages/libgamma"
.PHONY: install-copyright
@@ -178,12 +178,12 @@ uninstall:
-rm -- "$(DESTDIR)$(LICENSEDIR)/$(PKGNAME)/LICENSE"
-rm -- "$(DESTDIR)$(LICENSEDIR)/$(PKGNAME)/COPYING"
-rmdir -- "$(DESTDIR)$(LICENSEDIR)/$(PKGNAME)"
- -rm -- $(foreach M,$(PYTHON_SRC),"$(DESTDIR)$(PYTHONDIR)/site-packages/$(PKGNAME)/__pycache__/$(M).cpython-$(PY_VER).$(PY_OPT2_EXT)")
- -rm -- $(foreach M,$(PYTHON_SRC),"$(DESTDIR)$(PYTHONDIR)/site-packages/$(PKGNAME)/__pycache__/$(M).cpython-$(PY_VER).pyc")
- -rm -- $(foreach M,$(PYTHON_SRC),"$(DESTDIR)$(PYTHONDIR)/site-packages/$(PKGNAME)/$(M).py")
- -rm -- $(foreach M,$(CYTHON_SRC),"$(DESTDIR)$(PYTHONDIR)/site-packages/$(PKGNAME)/$(M).so")
- -rmdir -- "$(DESTDIR)$(PYTHONDIR)/site-packages/$(PKGNAME)/__pycache__"
- -rmdir -- "$(DESTDIR)$(PYTHONDIR)/site-packages/$(PKGNAME)"
+ -rm -- $(foreach M,$(PYTHON_SRC),"$(DESTDIR)$(PYTHONDIR)/site-packages/libgamma/__pycache__/$(M).cpython-$(PY_VER).$(PY_OPT2_EXT)")
+ -rm -- $(foreach M,$(PYTHON_SRC),"$(DESTDIR)$(PYTHONDIR)/site-packages/libgamma/__pycache__/$(M).cpython-$(PY_VER).pyc")
+ -rm -- $(foreach M,$(PYTHON_SRC),"$(DESTDIR)$(PYTHONDIR)/site-packages/libgamma/$(M).py")
+ -rm -- $(foreach M,$(CYTHON_SRC),"$(DESTDIR)$(PYTHONDIR)/site-packages/libgamma/$(M).so")
+ -rmdir -- "$(DESTDIR)$(PYTHONDIR)/site-packages/libgamma/__pycache__"
+ -rmdir -- "$(DESTDIR)$(PYTHONDIR)/site-packages/libgamma"
.PHONY: clean