Working Makefile

This commit is contained in:
Silvan Calarco 2015-02-15 15:55:55 +01:00
parent 0af9184b83
commit 7fd69929e5
1 changed files with 18 additions and 1 deletions

View File

@ -35,12 +35,29 @@ all:
install-dirs:
@$(INSTALL_DIR) $(DESTDIR)$(bindir)
@$(INSTALL_DIR) $(DESTDIR)$(sysconfigdir)
@$(INSTALL_DIR) $(DESTDIR)$(sysconfdir)/smart/distro.d
@$(INSTALL_DIR) $(DESTDIR)$(datadir)/openmamba
@$(INSTALL_DIR) $(DESTDIR)$(sysconfdir)/pki/rpm-gpg
@$(INSTALL_DIR) $(DESTDIR)$(sysconfdir)/profile.d
@$(INSTALL_DIR) $(DESTDIR)$(sysconfdir)/xprofile.d
install-data:
@$(INSTALL_DATA) openmamba-smart-devel.py $(DESTDIR)$(sysconfdir)/smart/distro.d/90-openmamba-devel-repositories.py
@$(INSTALL_DATA) openmamba-smart-milestone3.py $(DESTDIR)$(sysconfdir)/smart/distro.d/10-openmamba-milestone3-repositories.py
@$(INSTALL_DATA) openmamba-smart-multi-version-select.py $(DESTDIR)$(sysconfdir)/smart/distro.d/95-multi-version-select.py
@$(INSTALL_DATA) openmamba-smart-virtual-packages-select.py $(DESTDIR)$(sysconfdir)/smart/distro.d/95-virtual-packages-select.py
@$(INSTALL_DATA) openmamba-smart-configure-once.py $(DESTDIR)$(sysconfdir)/smart/distro.d/98-configure-once.py
@$(INSTALL_DATA) openmamba-groups.db $(DESTDIR)$(datadir)/openmamba/pkggroups.db
@$(INSTALL_DATA) RPM-GPG-KEY-Mambasoft $(DESTDIR)$(sysconfdir)/pki/rpm-gpg/RPM-GPG-KEY-Mambasoft
install-programs:
@$(INSTALL_PROGRAM) openmamba-release.sh $(DESTDIR)$(bindir)/openmamba-release
@$(INSTALL_PROGRAM) gpg-key-openmamba.sh $(DESTDIR)$(sysconfdir)/profile.d/gpg-key-openmamba.sh
@$(INSTALL_PROGRAM) gpg-key-openmamba.sh $(DESTDIR)$(sysconfdir)/xprofile.d/gpg-key-openmamba.sh
install-x86_64:
install-x86_64: install-dirs install-data install-programs
@$(INSTALL_DATA) openmamba-smart-multiarch-update-x86_64.py $(DESTDIR)$(sysconfdir)/smart/distro.d/93-multiarch-update-x86_64.py
install: install-dirs install-data install-programs