36 lines
1.8 KiB
Makefile
Raw Normal View History

2018-07-10 02:46:12 -05:00
#!/usr/bin/make -f
#SUBDIRS :=
2018-07-10 02:46:12 -05:00
2018-07-11 00:10:37 -05:00
all:
# Desktop file
(cd lubuntu/po/ && make)
2020-05-14 22:41:29 -07:00
(cd ubuntustudio/po/ && make)
2024-02-12 17:26:01 -06:00
(cd kubuntu/po/ && make)
2018-07-11 00:10:37 -05:00
# Slideshow
(cd lubuntu/branding/lubuntu/lang/ && make)
2020-05-14 22:41:29 -07:00
(cd ubuntustudio/branding/ubuntustudio/lang && make)
2024-02-12 17:26:01 -06:00
# Kubuntu OEM setup stuff
(cd kubuntu && mkdir oemconfig && cd oemconfig && mkdir -p usr/bin && mkdir -p etc/calamares && mkdir -p usr/share/xsessions && mkdir -p usr/libexec && mkdir -p etc && mkdir -p usr/share/applications)
(cp kubuntu/calamares-logs-helper kubuntu/oemconfig/usr/bin/)
(cp kubuntu/oem/sddm.conf kubuntu/oemconfig/etc/)
(cp kubuntu/oem/sudoers.oem kubuntu/oemconfig/etc/ && chmod 400 kubuntu/oemconfig/etc/sudoers.oem)
(cp kubuntu/oem/calamares-oemfinish.sh kubuntu/oemconfig/usr/libexec/)
(cp kubuntu/oem/calamares-finish-oem kubuntu/oemconfig/usr/bin/)
(cp kubuntu/oem/calamares-finish-oem.desktop kubuntu/oemconfig/usr/share/applications/)
(cp -r kubuntu/branding kubuntu/oemconfig/etc/calamares/)
(cp -r kubuntu/oem/modules/ kubuntu/oemconfig/etc/calamares/)
(cp kubuntu/oem/settings.conf kubuntu/oemconfig/etc/calamares/)
(cp kubuntu/oem/kubuntu-oem-env/kubuntu-oem-environment.desktop kubuntu/oemconfig/usr/share/xsessions/)
(cp kubuntu/oem/kubuntu-oem-env/start-kubuntu-oem-env kubuntu/oemconfig/usr/libexec/)
(fakeroot bash -c "chown -R root:root kubuntu/oemconfig && tar cvzf kubuntu/oemconfig.tar.gz kubuntu/oemconfig")
2018-07-11 00:10:37 -05:00
# Get rid of the unnecessary files
find lubuntu/ -type f -iname "*.in" | xargs rm -f
find lubuntu/ -type f -iname "Makefile" | xargs rm -f
2020-05-14 22:41:29 -07:00
find ubuntustudio/ -type f -iname "*.in" | xargs rm -f
find ubuntustudio/ -type f -iname "Makefile" | xargs rm -f
2024-02-12 17:26:01 -06:00
find kubuntu/ -type f -iname "*.in" | xargs rm -f
find kubuntu/ -type f -iname "Makefile" | xargs rm -f
rm -rf kubuntu/oemconfig
2018-07-10 02:46:12 -05:00
# vim:ts=4