## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License
-## along with this program; if not, write to the Free Software
-## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+## along with this program; if not, see <http://www.gnu.org/licenses/>.
##
#
File "${CROSS}/zadig_xp.exe"
# Python
- File "${CROSS}/python32.dll"
- File "${CROSS}/python32.zip"
+ File "${CROSS}/python34.dll"
+ File "${CROSS}/python34.zip"
+
+ SetOutPath "$INSTDIR\share"
# Protocol decoders.
- SetOutPath "$INSTDIR\decoders"
- File /r /x "__pycache__" "${CROSS}/share/libsigrokdecode/decoders/*"
+ File /r /x "__pycache__" /x "*.pyc" "${CROSS}/share/libsigrokdecode"
# Firmware files.
- SetOutPath "$INSTDIR\firmware"
- File /r "${CROSS}/share/sigrok-firmware/*"
+ File /r "${CROSS}/share/sigrok-firmware"
# Example *.sr files.
SetOutPath "$INSTDIR\examples"
Delete "$INSTDIR\pulseview.exe"
Delete "$INSTDIR\zadig.exe"
Delete "$INSTDIR\zadig_xp.exe"
- Delete "$INSTDIR\python32.dll"
- Delete "$INSTDIR\python32.zip"
+ Delete "$INSTDIR\python34.dll"
+ Delete "$INSTDIR\python34.zip"
- # Delete all decoders and everything else in decoders/.
+ # Delete all decoders and everything else in libsigrokdecode/.
# There could be *.pyc files or __pycache__ subdirs and so on.
- RMDir /r "$INSTDIR\decoders\*"
+ RMDir /r "$INSTDIR\share\libsigrokdecode"
# Delete the firmware files.
- RMDir /r "$INSTDIR\firmware\*"
+ RMDir /r "$INSTDIR\share\sigrok-firmware"
# Delete the example *.sr files.
RMDir /r "$INSTDIR\examples\*"
# Delete the install directory and its sub-directories.
- RMDir "$INSTDIR\decoders"
- RMDir "$INSTDIR\firmware"
+ RMDir "$INSTDIR\share"
RMDir "$INSTDIR\examples"
RMDir "$INSTDIR"