Added Makefile and files reorganized
84
Makefile
Normal file
@ -0,0 +1,84 @@
|
||||
# Makefile for ksplash-theme-openmamba
|
||||
# Copyright (C) 2013 by Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
|
||||
include VERSION
|
||||
|
||||
PACKAGE = kdm-theme-openmamba
|
||||
|
||||
DISTROID = openmamba
|
||||
|
||||
RPM_VENDOR = openmamba
|
||||
RPM_DISTRIBUTION = openmamba
|
||||
RPM_DISTROEXT = mamba
|
||||
|
||||
DISTROid = $(shell echo $(DISTROID) | tr A-Z a-z)
|
||||
DISTROICON = $(DISTROid)
|
||||
|
||||
DESTDIR =
|
||||
|
||||
prefix = /usr
|
||||
exec_prefix = ${prefix}
|
||||
sysconfdir = /etc
|
||||
sbindir = ${exec_prefix}/sbin
|
||||
bindir = ${exec_prefix}/bin
|
||||
datadir = ${prefix}/share
|
||||
initrddir = ${sysconfdir}/rc.d/init.d
|
||||
mandir = ${prefix}/usr/share/man
|
||||
sysconfigdir= ${sysconfdir}/sysconfig
|
||||
xprofiledir = ${sysconfdir}/xprofile.d
|
||||
mambabasedatadir = ${datadir}/openmamba/mambabase
|
||||
mambawelcomedatadir = ${datadir}/openmamba/mambawelcome
|
||||
bootrecoverdatadir = ${datadir}/openmamba/bootrecover
|
||||
iconsdir = ${datadir}/icons/hicolor
|
||||
kdeprefixdir = $(shell kde4-config --prefix)
|
||||
kdedatadir = $(kdeprefixdir)/share
|
||||
kdebindir = $(kdeprefixdir)/bin
|
||||
kdeautostartdir = ${kdedatadir}/autostart
|
||||
kdeconfigdir = ${kdedatadir}/config
|
||||
kdewallpapersdir = ${kdedatadir}/wallpapers
|
||||
kdeappsdir = ${kdedatadir}/apps
|
||||
kdeplasmadesktopupdatesdir = ${kdeappsdir}/plasma-desktop/updates
|
||||
localesdir = ${kdedatadir}/locale
|
||||
|
||||
xdg_appsdir = ${datadir}/applications
|
||||
xdg_directorydir = ${datadir}/desktop-directories
|
||||
xdg_menudir = ${sysconfdir}/xdg/menus
|
||||
xdg_mergedmenudir = $(xdg_menudir)/applications-merged
|
||||
|
||||
distrorootdir = ${datadir}/$(DISTROid)
|
||||
distrobindir = ${distrorootdir}/bin
|
||||
distrosrpmsdir = ${distrorootdir}/SRPMS
|
||||
distrokdedir = ${distrorootdir}/kde
|
||||
srcdir = .
|
||||
|
||||
distdir = $(PACKAGE)-$(VERSION)
|
||||
dist_archive = $(distdir).tar.bz2
|
||||
|
||||
INSTALL = /usr/bin/install
|
||||
INSTALL_PROGRAM = ${INSTALL} -m 755
|
||||
INSTALL_DATA = ${INSTALL} -m 644
|
||||
INSTALL_DIR = ${INSTALL} -d -m 755
|
||||
INSTALL_SCRIPT = ${INSTALL_PROGRAM}
|
||||
|
||||
all:
|
||||
|
||||
install:
|
||||
$(INSTALL_DIR) $(DESTDIR)$(kdedatadir)/kdm/themes
|
||||
cp -a openmamba $(DESTDIR)$(kdedatadir)/kdm/themes/
|
||||
|
||||
dist: clean
|
||||
@git log > ChangeLog.git
|
||||
@mkdir /tmp/$(distdir)
|
||||
@cp -a * /tmp/$(distdir)/
|
||||
@rm -f $(dist_archive);\
|
||||
tar cf - -C /tmp $(distdir) | bzip2 -9 -c > $(dist_archive)
|
||||
@rm -rf /tmp/$(distdir)
|
||||
@echo "file \`$(dist_archive)' created"
|
||||
|
||||
dist-rpm: dist
|
||||
@rpm_sourcedir=`rpm --eval=%{_sourcedir}`;\
|
||||
mv -f $(dist_archive) $$rpm_sourcedir;\
|
||||
echo "and saved as \`$$rpm_sourcedir/$(dist_archive)'"
|
||||
|
||||
clean:
|
||||
rm -f $(dist_archive)
|
Before Width: | Height: | Size: 300 KiB After Width: | Height: | Size: 300 KiB |
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 60 KiB After Width: | Height: | Size: 60 KiB |
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |